Le Jingle
2012-06-21 00:46:27
hi, basically I'm trying to writeln the values I have in my consts (example below);
So overall, I can't figure out how to write the 'a' and then 'b' that I have stored as 0 and 1. (I need to keep the 0 and 1 relations to a and b, respectively in the consts)
Any help is highly appreciated! :>
Cheers
Program AutoSpammer;
{$i SRL\SRL.Simba}
Const
a = 0;
b = 1;
Procedure ActuallyWrite;
Var
i: Integer;
Begin
For i := 0 to 1 Do
WriteLn([i]);
End;
Begin
SetupSRL;
ActuallyWrite; // Should type Write Line this letter: a
// Should type Write Line this letter: b
End.
(This writes, but not what I want; )
SRL Compiled in 0 msec
[0]
[1]
Successfully executed.
So overall, I can't figure out how to write the 'a' and then 'b' that I have stored as 0 and 1. (I need to keep the 0 and 1 relations to a and b, respectively in the consts)
Any help is highly appreciated! :>
Cheers