Ok all.. quick question. I'm trying to compile g00r00's old go-pawz mpl and I'm getting an error ...
Error (line 22, col 33)
Syntax error
Ok all.. quick question. I'm trying to compile g00r00's old go-pawz
mpl and I'm getting an error ...
Error (line 22, col 33)
Syntax error
The targeted line is:
AsciiPause = '[Press any key]',
anyone have an idea what the issue is? Not yet familiar with coding
Should that not be AsciiPause = '[Press any key]';
A Semi-colon at the end, not a comma?
Should that not be AsciiPause = '[Press any key]';
A Semi-colon at the end, not a comma?
MPL doesn't use semicolons at the end of a command... If the above statement is not in an IF statement, it should be: AsciiPause := '[Press any key]'
To assign a value to a variable in Pascal/MPL you use :=
To make comparison you use only the equal sign =
Ok all.. quick question. I'm trying to compile g00r00's old go-pawz mpl and I'm getting an error ...
Error (line 22, col 33)
Syntax error
The targeted line is:
AsciiPause = '[Press any key]',
AsciiPause = '[Press any key]',Should that not be AsciiPause = '[Press any key]';
A Semi-colon at the end, not a comma?
im sure your using an older mpl that is incompatible with the newer mpl. is it declared as a Constant aka const?
can you remove the , at the end and recompile? i dont have access to
that mps at the moment. the newer mpl you can have it line blank or a ;
on the end. normal pascal requires ; at the end but in good practice i
add the ; at the end.
I tried find go-pawz6, but i only found up to go-pawz5... and in those
old versions there is no such constant. Can you give a link or a name of
a BBS that has it to download?
Yeah added ; at the end of it and tried to compile then it errors out
with the first Variable "Count Byte,".
then do
count : byte;
then do
count : byte;
hehe... was a step ahead of ya.. did that and now it faults on
Txt String Array(1..50);
lol... think we need an updated mpl for this little mod =] Cause I'm
an idiot when it comes to this stuff. Wish that wasn't the case that's
for sure.
then do
count : byte;
hehe... was a step ahead of ya.. did that and now it faults on
Txt String Array(1..50);
lol... think we need an updated mpl for this little mod =] Cause I'm an idiot when it comes to this stuff. Wish that wasn't the case that's for sure.
Ok all.. quick question. I'm trying to compile g00r00's old go-pawz mpl and I'm getting an error ...
Error (line 22, col 33)
Syntax error
The targeted line is:
AsciiPause = '[Press any key]',
anyone have an idea what the issue is? Not yet familiar with coding but
in my old age I'm going to have to tackle it. Last time I looked into
this type of stuff was PCBoard back in the late 90's. =)
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 203:38:07 |
Calls: | 2,083 |
Calls today: | 1 |
Files: | 11,139 |
Messages: | 948,001 |