Skip to content

Commit

Permalink
Fix sample_7
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruyere committed Jan 11, 2023
1 parent 36c3e7a commit 8db7ba1
Showing 1 changed file with 2 additions and 61 deletions.
63 changes: 2 additions & 61 deletions Resources/samples/sample_7.txt
Original file line number Diff line number Diff line change
@@ -1,65 +1,6 @@
dim i as long, toto as integer
i = i+1
msgbox i
msgbox toto

const tutu = 3

if (i =4) then
msgbox i+2
end if

function test(totso as long)
i = i+3
dim JUJU, toto as string
toto = "hello"
end function

Execute(chr((abs(#2019-01-01# - #2019-01-31#) * 2) +5) _
Execute(chr((abs(#2019-01-01# - #2019-01-31#) * 2) +5) _
+ chr((abs(#2019-01-01# - #2019-02-01#) * 2) +4) _
+ chr((abs(#2019-01-01# - #2019-02-02#) * 2) +3) _
+ chr((abs(#2019-01-01# - #2019-02-03#) * 2) +2) _
+ chr(ASC(VBCRLF) * 13 - 100) _
+ chr(ASC(VBLF) * 17 - 100))

if (1=2)THEN
msgbox "1=2"
elseif (2=3) then
msgbox "2=3"
else
msgbox "no correct solutions"
end if

if (1=2)THEN
msgbox "1=2"
else
msgbox "no correct solutions"
end if

if (toto(3))THEN
msgbox "1=2"
elseif (2=3) then
msgbox "2=3"
else
msgbox "no correct solutions"
end if

if (toto(3))THEN
msgbox "1=2"
elseif (2=4) then
msgbox "2=2"
elseif (2=3) then
msgbox "2=3"
elseif (3=7) then
msgbox "3=3"
else
msgbox "no correct solutions"
end if

if (2=2)THEN
msgbox "2=2"
elseif (ambigous(1)) then
msgbox "2=3"
else
msgbox "no correct solutions"
end if
+ chr(ASC(VBLF) * 17 - 100))

0 comments on commit 8db7ba1

Please sign in to comment.