Re: Runrev bug, or I have made an error ?

2005-06-30 Thread Damien Girard
Le Jeudi 30 Juin 2005 15:08, Klaus Major a écrit : > Bonjour Damien, > > > Hi all, > > > > I am using runrev 2.6 under linux, and I have a strange bug. > > > > I need to get a list of font, and put a tab before each line of the > > fontlist > > (is it for a font menu). > > > > This is my script : >

Re: Runrev bug, or I have made an error ?

2005-06-30 Thread Björnke von Gierke
Hi Damien First, try to not name anything with a number, especially stacks, but also variables. Second: Its not good to modify the variable you use in a "repeat for each" loop (in this case "TheList") Third: If you want to add one line to a variable it is faster to say "add one to x" then "put

Re: Runrev bug, or I have made an error ?

2005-06-30 Thread Klaus Major
Bonjour Damien, Hi all, I am using runrev 2.6 under linux, and I have a strange bug. I need to get a list of font, and put a tab before each line of the fontlist (is it for a font menu). This is my script : put fontnames() into TheList sort TheList put "0" into LineToDo repeat fo

Re: Runrev bug, or I have made an error ?

2005-06-30 Thread Eric Chatonet
Bonjour Damien, You use an integer as a variable name :-) And Rev does not crash: kudos! May be some more generic approach like the following might help you: put InsertTab(the fontnames,1) after tMenu function InsertTab pList,pNumOfTabs sort pList repeat for each line tLine in pList pu

Runrev bug, or I have made an error ?

2005-06-30 Thread Damien Girard
Hi all, I am using runrev 2.6 under linux, and I have a strange bug. I need to get a list of font, and put a tab before each line of the fontlist (is it for a font menu). This is my script : put fontnames() into TheList sort TheList put "0" into LineToDo repeat for each line 1 in Th