Originally Posted by
maxlvs
-snip-
Firstly, please use [simba] tags around code, like this:
[simba]YOUR CODE HERE![*simba]
Replace the asterisk (*) with a forward slash (/).
Secondly, you need to include the SRL-6 library, like so:
Simba Code:
program example;
{$I SRL-6/SRL.simba}
// code here
begin
// code here
end.
This is demonstrated in The Mayor's tutorial with the following snippet:
Simba Code:
program new;
{$DEFINE SMART}
{$I SRL-6/SRL.simba}
procedure practiceMouse();
begin
mouse(200, 200, MOUSE_MOVE);
wait(3000);
mouse(50, 50, MOUSE_MOVE);
wait(3000);
fastClick(MOUSE_RIGHT);
writeLn('We just right clicked');
wait(3000);
mouse(300, 30, MOUSE_MOVE);
end;
begin
clearDebug();
setupSRL();
practiceMouse();
end.
I suggest you carefully read the tutorial and follow it step by step, ensuring that your code looks just like The Mayor's code.
Good luck!