Skip to content

Commit

Permalink
Some corrections in DECLARE ACCESS/ASSIGN
Browse files Browse the repository at this point in the history
  • Loading branch information
fforay committed Aug 22, 2020
1 parent 23efcbb commit a5bb9d2
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions FabTools/FabTwain/FabTwain.prg
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,26 @@ BEGIN NAMESPACE FabTwain
PROTECT hSMLib AS PTR


DECLARE ACCESS ConditionCode, IsTwainAvailable, Owner, State, ErrorCode, ShowUI
DECLARE ACCESS XResolution, YResolution, Contrast, Brightness, PixelType, PixelDepth
DECLARE ACCESS ConditionCode
DECLARE ACCESS IsTwainAvailable
DECLARE ACCESS Owner
DECLARE ACCESS State
DECLARE ACCESS ErrorCode
DECLARE ACCESS ShowUI
DECLARE ACCESS XResolution
DECLARE ACCESS YResolution
DECLARE ACCESS Contrast
DECLARE ACCESS Brightness
DECLARE ACCESS PixelType
DECLARE ACCESS PixelDepth

DECLARE ASSIGN XResolution, YResolution, Resolution, Contrast, Brightness, PixelType, PixelDepth
DECLARE ASSIGN XResolution
DECLARE ASSIGN YResolution
DECLARE ASSIGN Resolution
DECLARE ASSIGN Contrast
DECLARE ASSIGN Brightness
DECLARE ASSIGN PixelType
DECLARE ASSIGN PixelDepth



Expand Down

2 comments on commit a5bb9d2

@RobertvanderHulst
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fabrice,
I hope you do know that the compiler simply parses and ignores the DECLARE ACCESS and ASSIGN statements.
From your change I understand that it did not properly parse the lines with multiple identifiers. If that is indeed the case then I will change that in the compiler.

@fforay
Copy link
Member Author

@fforay fforay commented on a5bb9d2 Aug 23, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.