serious problem

new topic     » topic index » view thread      » older message » newer message

------=_NextPart_000_0005_01BF9716.E647C0C0
        charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

this program:

include file.e

procedure a12()
 integer fn=20
 fn=3Dopen("C:\\AUTOEXEC.BAT","r")
=20
 sequence s1

end procedure
returns this error:
Syntax error - expected to see possibly 'end', not a type
        sequence s1
                     ^

if i dont use it in procedure, like this:
include file.e

 integer fn=20
 fn=3Dopen("C:\\AUTOEXEC.BAT","r")
=20
 sequence s1

the error is gone.
what's happenin?
try it on your computer and youll see

------=_NextPart_000_0005_01BF9716.E647C0C0
        charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>this program:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><EM><FONT color=3D#808000 face=3DArial size=3D2>include =
file.e</FONT></EM></DIV>
<DIV>&nbsp;</DIV>
<DIV><EM><FONT color=3D#808000 face=3DArial size=3D2>procedure =
a12()<BR>&nbsp;integer=20
quence=20
s1</FONT></EM></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#808000 face=3DArial size=3D2><EM>end =
procedure</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>returns this error:</FONT></DIV>
<DIV><FONT color=3D#ff0000 face=3DArial size=3D2><STRONG>Syntax error - =
expected to=20
see possibly 'end', not a =
sequence=20
^</STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>if i dont use it in procedure, like=20
this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><EM><FONT color=3D#808000 face=3DArial size=3D2>include =
file.e</FONT></EM></DIV>
<DIV><EM><FONT color=3D#808000 face=3DArial =
size=3D2></FONT></EM>&nbsp;</DIV>
<DIV><EM><FONT color=3D#808000 face=3DArial size=3D2>&nbsp;integer=20
quence=20
s1</FONT></EM></DIV>
<DIV>&nbsp;</DIV>
<DIV>the error is gone.</DIV>
<DIV>what's happenin?</DIV>
<DIV>try it on your computer and youll =

------=_NextPart_000_0005_01BF9716.E647C0C0--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu