Home » Extra libraries, Code snippets, applications etc. » U++ Esc Interpreter, Esc Macros and templates » bug in Esc manual page?
bug in Esc manual page? [message #2107] |
Sat, 01 April 2006 14:06 |
hojtsy
Messages: 241 Registered: January 2006 Location: Budapest, Hungary
|
Experienced Member |
|
|
In Esc manual page there is this line:
s[1, -1] = "xXx"; // s is now "1xXx4"
Is -1 the slice element count here? I supposed that it could only be positive number.
I also think that this other example has some error. How do the interpreter know in the last line that x means var1.x ?
var.x = 0;
var.Next = @() { .x++; };
var.Next(); // var.x is now 1
var1.x = 0;
var.Next()! x; // var1.x is now 1
BTW, I tried searching for esc files in the U++ installation, to see some examples, but there seems to be none. Maybe some example files could be put in, to make the syntax and usage more straightforward. How do you use Esc in a C++ application, how are the functions are invoked, and how are the return values retrieved? Is there a connection between Esc and Usc? Usc files seems to have a different syntax than the one desribed for Esc. Is there a manual for Usc?
[Updated on: Thu, 04 May 2006 17:16] by Moderator Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Mar 29 06:39:57 CET 2024
Total time taken to generate the page: 0.01633 seconds
|