View Single Post
Old 26 February 2015, 21:54   #19
Cylon
Registered User
 
Join Date: Oct 2014
Location: Europe
Posts: 470
Quote:
Originally Posted by Cylon View Post
Ignore that ;-)
It means: "Origin" is not a known Command or whatever, if it is a label, then there is cr*p after it.

It sets the origin coordinates for the following text statements. Add a ; in front of this line. Proceed adding ; in front of every text .... you encounter on the way. Dito with color ...
.
It is not like that after looking at it again today.
All the Origin.... variables setting different areas which act as an origin(!) to the following drawing commands.
I can surround this (as Blitz2 has no Origin cmd) by creating a Macro:
Code:
Macro Origin
  xx=`1
  yy=`2
End Macro
In the statements, we replace the
Code:
Origin OrigBoardX, OrigBoardY
with
Code:
!Origin {OrigBoardX, OrigBoardY}
and all calls to drawing operations, like LINE, are using the xx and yy we created using the Macro:
Code:
Line 0, 200, 400, 200, ...
Code:
Line xx+ 0,yy+  200,xx+ 400,yy+ 200, ...
And so on.
That way we get our Origin. It also only happens a few times, so it is not much work.
Cylon is offline  
 
Page generated in 0.07838 seconds with 11 queries