Re: 2 slightly silly stacks

2007-09-14 Thread Horst
Hey Richmond, Can't find the stacks. Where did you put them? Best regards Horst Richmond Mathewson wrote: Just uploaded to RevOnline 2 stacks: 1. MachineDetails.rev ; illustration for the hardware info discussion 2. Finde.rev ; bl**dy silly really, but the by-product of some

2 slightly silly stacks

2007-09-14 Thread Richmond Mathewson
Hi Horst! I looked just now (8.10 am GMT) and they were there under Richmond (which is where they should be): Finde MachineDetails Love, Richmond A Thorn in the flesh is better than a failed Systems Development Life Cycle.

Re: Apostrophe in text variable causes SQL syntax error

2007-09-14 Thread Josh Mellicker
I think it's a good idea to URLencode all text data before storing. Not only does this solve character problems but also allows a multiline text field to go onto a single line, so a record can go onto one line for processing, making records easy to access. On Sep 13, 2007, at 5:24 PM,

2 slightly silly stacks

2007-09-14 Thread Richmond Mathewson
I realised that Finde was somewhat opaque, so have just uploaded a new version with instructive images. Love, Richmond A Thorn in the flesh is better than a failed Systems Development Life Cycle.

External and mémory

2007-09-14 Thread Jean-Pierre
Do I have to free retstring after calling an external ? Is there something wrong in this code. Memory grow up slowly ... XRev_codphone(char* args[],int nargs,char ** retstring,bool *Pass,bool *Error){ *pass=False ; *Error=False ; *retstring=(char *)malloc (100); if

Re: External and mémory

2007-09-14 Thread Thierry
Le 14 sept. 07 à 12:44, Jean-Pierre a écrit : Do I have to free retstring after calling an external ? In principle, not. Here is a code working fine, as long as i had understood everything :-) void Rev_MyFunction( char *args[], int nargs, char **retstring, Bool *pass, Bool *error) {

External and mémory

2007-09-14 Thread Richmond Mathewson
The acute accent should have warned me :) Je pense: XRev_codphone(char* args[],int nargs,char ** retstring,bool *Pass,bool *Error){ *pass=False ; *Error=False ; *retstring=(char *)malloc (100); if (nargs==1){ sprintf (*retstring,%s

Legacy and file format issues

2007-09-14 Thread Richmond Mathewson
Presumably (???) if one were to save a simple stack in the 2 formats and then do a comparison with a text-editor one could work out the difference, and even run-off a wee standalone that could be used to convert stacks back and forth. Of course, I suspect the above is heresy. sincerely, Richmond

Setting last modified date of a file from within Rev

2007-09-14 Thread Eric Chatonet
Hi all, I wondered how to modify the creation, last modified, accessed date of any file on Win (XP and Vista) from within Rev (i.e. by Rev coding and without using a third party software). Probably some shell command I ignore :-) Any hints will be welcome. Thanks. Best regards from Paris,

Re: Legacy and file format issues

2007-09-14 Thread Mark Smith
You only need to read the first couple of bytes - in a 'legacy stack' the first 2 bytes will be '#!', whereas in a newer stack they will be RE. Best, Mark On 14 Sep 2007, at 12:26, Richmond Mathewson wrote: Presumably (???) if one were to save a simple stack in the 2 formats and then do

Re: Setting last modified date of a file from within Rev

2007-09-14 Thread xavier . bury
Hi Eric, Best best for this is a Touch command. Not all are the same and some dont allow all the options. http://www.donationcoder.com/Forums/bb/index.php?topic=5540.msg38511#msg38511 Regards, -=- Xavier Bury Clearstream Services TNS NT LAN Server

Re: Legacy and file format issues

2007-09-14 Thread Klaus Major
Hi all, Am 14.09.2007 um 13:53 schrieb Mark Smith: You only need to read the first couple of bytes - in a 'legacy stack' the first 2 bytes will be '#!', whereas in a newer stack they will be RE. Best, Mark Yes, as I already posted yesterday :-) OK, I suggested to check the first EIGHT

Re: Setting last modified date of a file from within Rev

2007-09-14 Thread Eric Chatonet
Hi Xavier, Good to hear from you :-) I am searching for a 'whole Rev' solution (without any additional stuff) I would be able to run on any user machine... Le 14 sept. 07 à 13:47, [EMAIL PROTECTED] a écrit : Hi Eric, Best best for this is a Touch command. Not all are the same and some

Re: Setting last modified date of a file from within Rev

2007-09-14 Thread xavier . bury
Hi Eric, Unfortunately there is no built in command that i know off other than this shell command. You need a 3rd party tool (most are free though) to do this or write an external... Regards, -=- Xavier Bury Clearstream Services TNS NT LAN Server

The Register

2007-09-14 Thread xavier . bury
In case any of you missed it, the register (http://theregister.co.uk) has news about RunRev linux update! http://www.regdeveloper.co.uk/2007/09/13/runtime_revolution_linux/ Knowing the register, and their rather twister humor, lets hope the release is tiptop from the start! cheers Xavier

Legacy and file format issues

2007-09-14 Thread Richmond Mathewson
So, couldn't resist it and opened a legacy format stack as a text file (i.e. imported it into field fENTER) and tried this: replace oldTEX with newTEX in fld fENTER where oldTEX is: #!/bin/sh # MetaCard 2.4 stack # The following is not ASCII text, # so now would be a good time to q out of

Re: Legacy and file format issues

2007-09-14 Thread Brian Yennie
Richmond, I don't think it's going to be that easy. If all that changed between versions was the short prologue at the beginning, why would they change the format at all? There is probably more to it than a simple find/replace on the front of the stack is going to fix. Besides that, I

Legacy and file format issues

2007-09-14 Thread Richmond Mathewson
Brian Yennie wrote: Besides that, I don't see what you are trying to accomplish. If you don't own a current version of Rev, what is your purpose in trying to convert your stacks to the new format? And if you *do*, I believe saving in legacy format is a scriptable task. I have both old

Re: breakpoint is suddenly being ignored in IDE

2007-09-14 Thread flexiblelearning
Hi Mark Another instance when breakpoint will be ignored is if the object containing the breakpoint is disabled before the breakpoint occurs. I had that a couple of days ago and it took me a while to figure out what was happening! on mouseUp set the disabled of me to true

[OT] Mac Mini update

2007-09-14 Thread Richard Gaskin
The rumor mill is hinting at a next-generation Mac Mini in the pipeline: As a matter of fact, several of our sources have been repeatedly pointing out since the very first leaked pictures of the new Apple Keyboards appeared that prototypes of a next-generation Mac Mini (due in

Re: Setting last modified date of a file from within Rev

2007-09-14 Thread Eric Chatonet
Hi Xavier, I'm going to reformulate my question more precisely: I have a Rev exe on the user's machine with many other files. I want to be able to write some data to one of these files (actually a Rev stack but it does not matter) and save it. But I don't want the modification date to be

Re: Escaping from Repeat loops

2007-09-14 Thread Paul Gabel
repeat xNumberOfTimes global doCancelVariable -- My Code Here wait 1 tick with messages if doCancelVariable = true then exit to top end if end repeat Maybe I'm missing your point, but why not just write: global doCancelVariable repeat until

[ANN] F-ab 2.3.0 released and available for download

2007-09-14 Thread Jiro Harada
Hello, F-ab 2.3.0 is now available for download. In this version, you can register YouTube movies by drag drop and play them. About F-ab F-ab is a simple browser for Flash movies. This application is created with Runrev 2.8.1 and a free-ware. In F-ab a Flash movie is specified by the

Re: breakpoint is suddenly being ignored in IDE

2007-09-14 Thread Howard Bornstein
On 9/13/07, Mark E. Powell [EMAIL PROTECTED] wrote: The subject line says it all: breakpoint is failing to break script in t= he IDE (2.8.0 Windows XP). As clean test, I create a new button with br= eakpoint followed by an answer dialog inside a mouseup handler. The answ= er dialog

ANN: Cute X86 assembler simulator on RevOnline

2007-09-14 Thread Andre Garzia
Hi Friends, some may recall a previous post I made on my blog: http://andregarzia.com/blog/files/aasm.html In which I detailed the construction of a simple assembly language simulator that I made to prep myself to an assembly examination at my university. I decided to make it available so

Re: Legacy and file format issues

2007-09-14 Thread Andre Garzia
Richmond, when they created the new file format it was due to necessity. The old file format does not have place for stuff such as alpha blending and the new things. Also, stacks are not ascii or even text format, you can't open them in a field and replace data around, your chances of corrupting

Re: Setting last modified date of a file from within Rev

2007-09-14 Thread Andre Garzia
Bonjour Eric, nasty business changing modification dates, antivirus and antispyware tools may flag your software for that, specially if you move the date to the past. Some systems will not allow you to do that, I don't know how to do this to move the file date to the past. One drastical and

Re: Setting last modified date of a file from within Rev

2007-09-14 Thread Richard Gaskin
Eric wrote: I'm going to reformulate my question more precisely: I have a Rev exe on the user's machine with many other files. I want to be able to write some data to one of these files (actually a Rev stack but it does not matter) and save it. But I don't want the modification date to be

Re: breakpoint is suddenly being ignored in IDE

2007-09-14 Thread Mark E. Powell
Follow-up: After kicking the tires and performing rain dances, the problem cleared up, but without explanation. By the way, I wasn't clear in my original post, but I *was* using the breakpoint command, as illustrated in the test button script below on mouseup breakpoint answer foo end

[OT] SCO Group files for bankruptcy

2007-09-14 Thread Richard Gaskin
The Linux community gets the last laugh -- looks like Microsoft's prop-up money ran out: SCO Group files for bankruptcy SALT LAKE CITY - The SCO Group Inc., licenser of the Unix operating system, filed for bankruptcy protection Friday, drained by unsuccessfully filing lawsuits

Re: [OT] SCO Group files for bankruptcy

2007-09-14 Thread Andre Garzia
98 evil companies on the wall... 98 evil companies on the wall On 9/14/07, Richard Gaskin [EMAIL PROTECTED] wrote: The Linux community gets the last laugh -- looks like Microsoft's prop-up money ran out: SCO Group files for bankruptcy SALT LAKE CITY - The SCO Group Inc.,

Shift+Click Item List?

2007-09-14 Thread Scott Rossi
Hi List: I have an item list field here with multipleHilite and nonContiguousHilite properties enabled, but it seems I can't use shift+click to select a range of lines (control+click works OK). This should be possible, yes? Anyone know how to set it up? Thanks Regards, Scott Rossi Creative

Re: Legacy and file format issues

2007-09-14 Thread Mark Smith
I suppose if we want to be economical, just one byte would do... function isLegacy someStackFile open file someStackFile for read read from file someStackFile for 1 close file someStackFile return (it is #) end isLegacy On 14 Sep 2007, at 13:06, Klaus Major wrote: Hi all, Am

Re: Shift+Click Item List?

2007-09-14 Thread Mark Smith
Strange - shift+click seems to work here on OS X, but control+click doesn't. What's more, not having 'toggle hilites' checked seems to make it impossible to select multiple lines at all... Mark On 15 Sep 2007, at 00:47, Scott Rossi wrote: Hi List: I have an item list field here with

Re: Legacy and file format issues

2007-09-14 Thread Andre Garzia
Richmond, again, it is not that easy. Format is binary, not ascii char based. Second, depending on what properties you set, format will have different data placeholders. You can't convert like this, it's not a 1 to 1 relation. andre On 9/14/07, Richmond Mathewson [EMAIL PROTECTED] wrote:

Re: Shift+Click Item List?

2007-09-14 Thread Jim Ault
On 9/14/07 4:47 PM, Scott Rossi [EMAIL PROTECTED] wrote: Hi List: I have an item list field here with multipleHilite and nonContiguousHilite properties enabled, but it seems I can't use shift+click to select a range of lines (control+click works OK). This should be possible, yes? Anyone

Re: Shift+Click Item List?

2007-09-14 Thread Richard Gaskin
Mark Smith wrote: On 15 Sep 2007, at 00:47, Scott Rossi wrote: I have an item list field here with multipleHilite and nonContiguousHilite properties enabled, but it seems I can't use shift+click to select a range of lines (control+click works OK). This should be possible, yes? Anyone know