Re: lingo-l can flash in director use an image cast member

2006-05-16 Thread Valentin Schmidt
Sorry, the answer to that question is no as the Xtra can only be used under player version 10 (Director MX 2004, its projectors and Shockwave 10). Authoring with Director MX only allows you to author/test with up to Flash 6 SWF files, publishing from Director MX you target the 8.5 player which

Re: lingo-l spheroid distortion

2006-05-08 Thread Valentin Schmidt
hi chris, if I understand it correctly, the destination-point is at the same angle (seen from the originion of the distortion) as the original point, just the distance (polarDest) changes. so you have: destX/destY = sourceX/sourceY and sqrt(power(destX,2) + power(destY,2) ) = polarDest

Re: lingo-l spheroid distortion

2006-05-08 Thread Valentin Schmidt
[EMAIL PROTECTED] wrote: Thanks for enlightening me, Valentin :) There's still something fishy about it, it's not really doing what it should... here's the code (and I'm having a float attack :) ) Maybe you can spot where it goes wrong... Chris. I don't really understand this spherize

Re: lingo-l getNetText() not working, but it is, but it isn't any more

2006-04-28 Thread Valentin Schmidt
-- start to load XML from the web xmlFile = http//www.bulldogbroadband.com/xml/dataset.xml hi ross, propably this just happened when pasting into the email, but just in case, in both urls in your sample scripts the : were missing (after http). valentin [To remove yourself from this

Re: lingo-l getNetText() not working, but it is, but it isn't any more

2006-04-28 Thread Valentin Schmidt
propably this just happened when pasting into the email, but just in case, in both urls in your sample scripts the : were missing (after http). when opening those (fixed) URLs with MU Xtra and my little HTTP Sniffer (http://dasdeck.de/staff/valentin/lingo/http_class/http_class_v1.1.zip;

Re: lingo-l getNetText() not working, but it is, but it isn't any more

2006-04-28 Thread Valentin Schmidt
of interest, but how would that explain everything only breaking in my office when it works perfectly well in the computer shop over the road? sorry, I missed that part about happening only on a certain computer. so, does it work on that machine if you use MU xtra instead (e.g. by opening the

Re: lingo-l mouse movement

2006-04-26 Thread Valentin Schmidt
depending on what you want to do, it might also be an option to hide the real cursor and use a sprite as fake cursor that follows the mouse, but only inside this rect. valentin Michael Nadel wrote: Is there a way to contrain the user's mouse movement to a specific rect? Michael Nadel

Re: lingo-l strange behaviour...

2006-04-25 Thread Valentin Schmidt
Once you place a file named exactly shockwave.ini with the above content in the same folder as shockwave is installed (right next to DPLib and IMLib) a more descriptive error message will be displayed at the first script error encountered. those libs are called iml32.dll and DynaPlayer.dll on

Re: lingo-l strange behaviour...

2006-04-25 Thread Valentin Schmidt
sorry, I admit I was just guessing what DPLib might stand for, but I knew that iml32.dll, dirapi.dll and proj.dll are the important ones (e.g. for stub projectors). by the way, what 's happening in DynaPlayer.dll? Valentin Thomas Higgins wrote: DPLib and IMLib... those libs are called

Re: lingo-l Finding the closest point from a list of points in lingo

2006-04-11 Thread Valentin Schmidt
on getNearestPoint aListOfPoints, aRefPoint ... end depending on the exact characteristics of your project, you might be able to speed up the process of finding the minimal distance (as proposed by rob) by using vectors (with z=0) instead of points, and their distanceto method. but this

Re: lingo-l FlashComponent events not working in 10.1.1

2006-04-11 Thread Valentin Schmidt
Set the member's eventPassMode to passAlways using the Flash Component tab of the Property Inspector, and implement a mouseUp handler instead of click. either that, or use code like on beginSprite me s = sprite(me.spriteNum) s.setCallback(s, click, #click, me) end on click me put click end

Re: lingo-l Purging getNetText()

2006-03-10 Thread Valentin Schmidt
getNetText(http://mydomain.com/myXMLFile.xml?time=; the milliseconds) Doesn't matter what the CGI var is, or its value. (As long as it's unique.) It doesn't even have to be a variable definition, any unique query string does it as well, like e.g.

Re: lingo-l Purging getNetText()

2006-03-10 Thread Valentin Schmidt
thanks for sharpening thomas and my remarks :-) Mark Hagers wrote: I had the same problem. Somehow Director insists on reloading a file from the cache, even when you tell it not to. The only sure-fire way to solve this is by appending a unique parameter to the url on each new request, as is

Re: lingo-l browser crash on reloading Shockwave w/QT

2006-03-09 Thread Valentin Schmidt
hi slava, I don't have an answer, but I have checked again, and my test movie also crashes the browser when I force a reload of the page. This only happens on a system where QT 7 (and Win XP) is installed, it doesn't happen on another computer with QT 6.5 and Win98. So are there any known

Re: lingo-l export question

2006-03-08 Thread Valentin Schmidt
just export them with SharpExport as PNGs, and then use any image program that can do batch conversion (like photoshop, or the free IrfanView) to convert them to GIF. valentin Michael Nadel wrote: Hi everyone, thanks for all the Exporting help. I have a problem though. The xtra SharpExport

Re: lingo-l cast to wav

2006-03-03 Thread Valentin Schmidt
Sean Wilson wrote: If I have a cast of 1000 .wav sounds in a director cast and I want to save each member as a .wav onto my computer somewhere as individual files, is there an xtra to do this too? You could use the Audio xtra and write a routine that uses axLoadSound() and axConvertToFile() to

Re: lingo-l Passing {} to a swf sprite

2006-02-17 Thread Valentin Schmidt
hi michael, try (untested code!): obj = sprite(2).newObject(Object) obj._x = 40 obj._y = 85 sprite(2)._root.attachMovie(clip, clip, 50, obj) cheers, valentin Mendelsohn, Michael wrote: Hi list... The following line of lingo works, but the params object gets ignored:

Re: lingo-l Failure to create scripts in projector mode

2006-02-14 Thread Valentin Schmidt
the script it is failing to create! Any ideas why it cant find the cst? Ive created a dswmedia dir and put the cast in there, but im probably missing something. Does this help narrow it down for anybody? -Original Message- From: Valentin Schmidt [mailto:[EMAIL PROTECTED] Sent: 14 February

Re: Re[2]: lingo-l Failure to create scripts in projector mode

2006-02-14 Thread Valentin Schmidt
have you found out why the message was unable to open MyLib.cst.lnk? where does this .lnk come from if it's not a desktop link file? did you rename you castlib to *.lnk on purpose? valentin Alan Skinner wrote: Should also have mentioned im running it on my local machine and yes all the cct

Re: lingo-l Finding cast members quickly...

2006-02-13 Thread Valentin Schmidt
Kevan Dettelbach wrote: 1. For each level, compile a look-up table to determine which images exist at that level. Drawback: due to the number of images involved, this look-up table would be huge, and memory is very tight in this program already to the number of large images being moved in and

Re: lingo-l command-line parameters for a projector

2006-01-25 Thread Valentin Schmidt
here is what I use (for PC projectors). it parses the commandLine and identifies parameters by analysing spaces and quotes. e.g. for projector.exe -t xxx -f c:\some folder\some file.txt it returns [-t, xxx, -f, c:\some folder\some file.txt] if you opened a projector by double-clicking an

Re: lingo-l Bringing Webpage to Foreground

2006-01-23 Thread Valentin Schmidt
John R. Sweeney Jr wrote: on 1/23/06 2:19 PM, Mark Hagers at [EMAIL PROTECTED] wrote: One more thing to try (but it's what we call in dutch a 'horse remedy'): if the user's browser is firefox, test to see if it's currently active, and kill it's process before calling gotonetpage (or

Re: lingo-l Bringing Webpage to Foreground

2006-01-22 Thread Valentin Schmidt
John R. Sweeney Jr wrote: Howdy all, I'm using the standard gotoNetPage(myURL) to launch a couple of weblinks. In IE it works everytime correctly. With FireFox (on a PC), the first call launches the browser just fine in foreground. Then if a user clicks on the task bar back to my program and

Re: lingo-l closeRequest

2006-01-18 Thread Valentin Schmidt
hi michael, By the way: do you know, where I find a list of all keycodes? unfortunately, no. but, of course, you could create such a list yourself (on keyDown..put the keyCode..end) by successively stroking all keys :-) @ Thomas: Yes, it seems that the BuddyApi Messagebox causes the

Re: lingo-l Dynamically duplicating SWF in Director

2006-01-18 Thread Valentin Schmidt
hi alan, you can duplicate an existing flash member either with oldFlashMem.duplicate(newMemPosition) or with new(#flash, member(newMemPosition, newMemCastlibNameOrNum) ).media = oldFlashMem.media cheers, valentin Alan Skinner wrote: I think I found it tMember = new(#flash, castLib

Re: lingo-l strange QUIT message ...

2005-12-31 Thread Valentin Schmidt
hi nik, I havn't heard of this, but like john I usually only use halt instead. If switching to halt doesn't help in your case, you could put a lingo.ini next to your projector, with on startup the debugplaybackenabled = 1 the traceLogFile = log.txt the trace = 1 end and then run and quit

Re: lingo-l Shockwave Power Applications

2005-12-21 Thread Valentin Schmidt
I'm not sure if those are the right files, but maybe have a look at http://www.virtuo.com/dswMedia/ cheers, valentin Mike Warner wrote: Hi everyone, I tried to download the Shockwave Power Applications from Macromedia just now amd, after agreeing to the standard user stuff, got a 404 page.

Re: lingo-l getPropertyDescriptionList: js syntax

2005-12-19 Thread Valentin Schmidt
hi michael, you have to use something like: function getPropertyDescriptionList(){ var pl = propList(); tmp = propList(); tmp.setAProp(symbol(comment), symbol(What file to open?)); tmp.setAProp(symbol(format), symbol(string)); tmp.setAProp(symbol(default), ); pl.setAProp(symbol(pFile),

lingo-l WebDAV Class + Client ( was: HTTP Class 1.0)

2005-12-04 Thread Valentin Schmidt
hi list, there it is, the first alpha version of a Lingo-WebDAV client: http://dasdeck.de/staff/valentin/lingo/http_class/webdav_alpha.zip Really very alpha, just a proof of concept, but I think still impressive that it's possible to do this with good old Multiuser Xtra and a bit of lingo

Re: lingo-l HTTP Class 1.0 (was: getNetText and proxy)

2005-12-02 Thread Valentin Schmidt
hi alex, thanx for your feedback, and for the fake message window miaw. it's a neat little tool - although I havn't fully understood it yet, need more time to analyse - disassemble - deconstruct it :-) btw. I didn't find a way around this specific problem. I thought catching a script error

lingo-l HTTP Class 1.0 (was: getNetText and proxy)

2005-12-01 Thread Valentin Schmidt
headers Firefox extension, but more powerfull). Maybe it can be useful to examine http-network problems or debug server scripts... It's at http://dasdeck.de/staff/valentin/lingo/http_class/ Feedbacks and ideas for improvements welcome. Cheers, Valentin Valentin Schmidt wrote: Propably I'm

Re: lingo-l getNetText and proxy

2005-11-23 Thread Valentin Schmidt
hi tim, look up proxyServer(serverType, ipAddress, portNum) in the help. you can either get the proxy server's IP from the registry (pc, require's some (free) xtra; on the mac there is propably some comand to use with shell xtra), or let the user specify it manually. valentin Tim

Re: lingo-l getNetText and proxy

2005-11-23 Thread Valentin Schmidt
IN INTERACTIVE MEDIA -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Valentin Schmidt Sent: November 23, 2005 11:46 AM To: Lingo programming discussion list Subject: Re: lingo-l getNetText and proxy I wonder if (depending on the authorization scheme

Re: lingo-l getNetText and proxy

2005-11-23 Thread Valentin Schmidt
with Squid 2.5 on win xp) So, Tim, if your proxy server uses basic authentication only (which it propably doesn't), there is no need to buy a third party xtra. Valentin Valentin Schmidt wrote: thanks cole, laurent for your replies. laurent, what part of the process that you described do you think

Re: lingo-l getNetText and proxy

2005-11-23 Thread Valentin Schmidt
addendum: digest authentication (RFC 2617) would be a little bit more complicated, but totally doable as well, all you need is a md5 calculation, and there are good md5 implementations in lingo that are fast enough for those tiny strings required for authentication. Valentin Schmidt wrote

Re: lingo-l lastIndexOf lingo equivalent

2005-11-22 Thread Valentin Schmidt
hi michael, a common way do this is to use tPathDelimiter = \ -- or: the last char of the moviepath the itemdelimiter = tPathDelimiter tFileName = the last item of tPath cheers, valentin Mendelsohn, Michael wrote: is it the # of the last element in a list? Sorry, Buzz. I should've been

Re: lingo-l playing DVD as a Volume on HD

2005-11-07 Thread Valentin Schmidt
Hi Tim, I don't know what Nik's solution was, but a possible solution is to use an image with the DVD file system and mount it. In OS X you can use DMGs or toast images, on the pc you can e.g. use Nero to create it and a tool like Daemon Tools to mount the image. Cheers, Valentin Tim

Re: lingo-l Lingo internet W3D load, help needed

2005-10-30 Thread Valentin Schmidt
have you tried the moviepath toto.w3d? Cheers, Valentin Mike Castro Demaria wrote: Hi all, Does somebody know if it is possible to load a W3D by a lingo string in a shockwave file (played by IE) in a internet relative path? I need to do the trick without using Director's internet import

Re: lingo-l Screensaver made with Director

2005-10-23 Thread Valentin Schmidt
hi john, there are some suggestions at http://www.updatestage.com/products_table.html#Screensaver valentin John R. Sweeney Jr wrote: Howdy all, I've got a client I did a screensaver for last Oct. of 2003. They had me make changes to the Director, recently. My problem is I don't have the

lingo-l consistent way to check for existence of member

2005-10-07 Thread Valentin Schmidt
hi list, does anyone know a way to check for the existence of a member with a given name that works for both dmx and dmx2004? I know the following 2 methods, but it would be nicer to have a consistent method for all versions: on memberExists (someName) return (member(someName).membernum

Re: lingo-l consistent way to check for existence of member

2005-10-07 Thread Valentin Schmidt
return (tMemRef.type#empty) end unfortunately both require 2 lines of code, I was hoping for a one-line solution. Cheers, Valentin Alex da Franca wrote: Am 07.10.2005 um 18:25 schrieb Valentin Schmidt: hi list, does anyone know a way to check for the existence of a member with a given

Re: lingo-l Tools for DMX 04 Authoring Environments

2005-09-22 Thread Valentin Schmidt
Hi Alex, great stuff, just one little flaw: if there are 2 handlers in a script, on foo and on fooBar, and the second comes first, searching for handler foo would find fooBar. A simple fix might be to search (offset(...)) for either on fooSPACE or on fooRETURN Cheers, Valentin Alex da

Re: lingo-l Tools for DMX 04 Authoring Environments

2005-09-22 Thread Valentin Schmidt
Tim Welford wrote: Thanks Alex, this works really well from what I have tested so far. On a related note, it seems that when I use script xtras, they will only open up once, i.e. If I have 2 instances of director open, the script xtras will not open in the second instance of director it gives

Re: lingo-l Getting folders...

2005-07-27 Thread Valentin Schmidt
Hi Michael, I'm not sure about the reg key, but you can directly query the app-data folder by using: tAppDataFolder = baEnvironment( APPDATA ) Cheers, Valentin Mendelsohn, Michael wrote: Hi list... [WinXP] I use the below buddy command to get a safe place to store data for the projector.

lingo-l SQLite Xtra (direct-l cross post)

2005-07-11 Thread Valentin Schmidt
put xtra(SQLite).interface() -- xtra SQLite -- SQLite Xtra v0.3 (c) 2005 Valentin Schmidt -- contact: [EMAIL PROTECTED] -- based on SQLite 2.8.16 -- see http://sqlite.org/ -- CONSTRUCTOR: new object me -- BASIC COMMANDS: sqlite_open object me, string, * sqlite_close object me, * sqlite_exec

Re: lingo-l SQLite Xtra (direct-l cross post)

2005-07-11 Thread Valentin Schmidt
Now there is also a mac version (carbon): http://dasdeck.de/staff/valentin/xtras/sqlite/mac/ Valentin [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL

Re: lingo-l XML parser, script errors in callback handlers

2005-06-30 Thread Valentin Schmidt
Alex da Franca wrote: Am 30.06.2005 um 16:53 schrieb Brennan Young: Here's an interesting one. it is a FOL, that director can't intercept (?) events, which are generated from xtras. it is the same with MUI callbacks for example. any error fails gracefully (??) and must be handled by the

Re: lingo-l Occurrences in a list

2005-06-30 Thread Valentin Schmidt
here some code that doesn't use any (lingo) repeat loop, so might be a bit faster (but only works for lists that contain numbers only): on howMany (tList, tValue) tmp = tList.duplicate() tmp.sort() n = tmp.getPos(tValue) if n = 0 then return 0 tmp = - tmp tmp.sort() return (tmp.count +

Re: lingo-l dateChooser revisited

2005-06-16 Thread Valentin Schmidt
Hi Bryan, totally untested, but the documentation says that selectableRange is specified like: myDC.selectableRange = {rangeStart: new Date(2001, 4, 7), rangeEnd: new Date(2003, 5, 7)}; Those curly braces are just a short form for creating native Objects in Flash, so I think the following

Re: lingo-l standard path's

2005-05-24 Thread Valentin Schmidt
another option is using Shell Xtra. On windows you can use it like: tPath = shell_cmd(echo %ProgramFiles%, EMPTY) tPath = shell_cmd(echo %SystemRoot%, EMPTY) tPath = shell_cmd(echo %TMP%, EMPTY) for a list of all available system-variables do a put shell_cmd(SET, RETURN) and here some code to

Re: lingo-l docs for the Tree Flash Component

2005-05-02 Thread Valentin Schmidt
Thomas W.J.C. McCrystal wrote: There is also a online demo at http://dasdeck.de/staff/valentin/lingo/tree_class/online_demo/ Wow. That crashes Safari pretty hard, and repeatably so. 10.2.8, Safari maybe safari discovered that the tree looks like the classic windows explorer and has some

Re: lingo-l Director and XMLHttpRequest (part II)

2005-04-25 Thread Valentin Schmidt
AFAIK, no, not as native javascript object. But since Director (or a Shockwave app) is not a web page, you can easily rebuild this functionality with techniques like MU Xtra, XMLParser Xtra or Flash Asset. Valentin Mike Warner wrote: what I meant to ask, was whether Director's javascript

Re: lingo-l How to parse Java date in milliseconds

2005-04-18 Thread Valentin Schmidt
Try function convDate(s) { //seconds since 1970, not ms! var t = new Date(); t.setTime(s) ; put(t); } Cheers, Valentin Tom Jacobs wrote: I need to convert a Java date -- expressed in milliseconds since Jan. 1, 1970 -- to a more readable format (e.g. April 18, 2005 16:53:00). I

Re: lingo-l OT:: Chinese Text

2005-04-14 Thread Valentin Schmidt
Hi Rodrigo, you might also check out some script I wrote called Unicode Class (http://dasdeck.de/staff/valentin/lingo/unicode_class/). it can convert double-byte to unicode and v.v., and the demo also shows how to pass unicode from director to flash. The demo uses japanese text (Shift-JIS=CP932)

Re: lingo-l joining lists in lingo

2005-04-11 Thread Valentin Schmidt
Hi Tim, it won't help you in this situation, but in DMX2004 for javascript there is the concat() function for arrays: var a = Array(1,2,3); var b = Array(4,5,6); trace(a.concat(b)); // 1,2,3,4,5,6 Valentin Tim Welford wrote: Hi, Thanks, that's similar to the method I am using at the

Re: lingo-l sleep() not working (wrong timing)

2005-02-26 Thread Valentin Schmidt
than making director less cpu-consuming? and therefore; why would you want to know this exact timing? because once sleeping, you can't 'unsleep' director, isn;t it? \rri On 24 feb 2005, at 18:25, Valentin Schmidt wrote: thanks colin and roy, I must have missed this. good to know! valentin

lingo-l sleep() not working (wrong timing)

2005-02-24 Thread Valentin Schmidt
hi list, I have an apple g4 (os x 10.3.3) where director's sleep() function (UiHelper-xtra) doesn't work as it should. a simple sleep(1000) in the message window needs about 15 seconds to return, and the ratio consistently seems to be about 15:1 (sleep(200)-about 3 sec). apart from this

Re: lingo-l sleep() not working (wrong timing)

2005-02-24 Thread Valentin Schmidt
thanks colin and roy, I must have missed this. good to know! valentin Colin Holgate wrote: At 5:01 PM +0100 2/24/05, Valentin Schmidt wrote: a simple sleep(1000) in the message window needs about 15 seconds to return, and the ratio consistently seems to be about 15:1 (sleep(200)-about 3 sec

Re: lingo-l Unicode-Class

2005-02-14 Thread Valentin Schmidt
Hi Zoran, first of all, I'm definetely not saying that this script can totally substitute for native unicode support in director. it's just what it is, a parent script with methods for converting Unicode or UTF-8 text to single-byte text with given codepage, converting single-byte text with given

Re: lingo-l Unicode-Class

2005-02-14 Thread Valentin Schmidt
Hey Daniel, what exactly do you mean with single-byte unicode? the scripts supports UTF-8 and the full Basic Multilingual Plane of UCS-2/UTF-16, i.e. all 2-byte-chars (=the original Unicode) from U+ to U+ (more than 6 characters, that include all alfabets in the world). excerpt from

Re: lingo-l Unicode-Class

2005-02-14 Thread Valentin Schmidt
represented with single-byte encoding, as opposed to, say, Chinese. And so it doesn't fully implement Unicode in Lingo, but it goes a long way towards that goal. Kind Regards, Daniel Valentin Schmidt wrote: Hey Daniel, what exactly do you mean with single-byte unicode? the scripts

Re: lingo-l Unicode-Class

2005-02-14 Thread Valentin Schmidt
language packs. I've only ever worked with those. Kind Regards, Daniel Valentin Schmidt wrote: Ah, ok, I see. I have to admit that I don't know anything about director on double-byte systems (chinese, japanese, korean). Maybe the script could be extended in this direction, if I knew more about

lingo-l Unicode-Class (url was missing)

2005-02-11 Thread Valentin Schmidt
oops, I forgot to mention: http://dasdeck.de/staff/valentin/lingo/unicode_class/ Valentin Schmidt wrote: Hi List, I've created an alpha version of Unicode-Class, a simple but efficient parent script for handling Unicode text with lingo. It's still quite rough, and not optimized for speed

Re: lingo-l Build Scripts (i.e. Publishing from a commandline)[Direct-L cross-post]

2005-01-27 Thread Valentin Schmidt
I've uploaded a list of commands for dispatchCommand() that I've found out so far to http://dasdeck.de/staff/valentin/lingo/dispatchCommand.txt Valentin [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list,

Re: lingo-l Problem with Valentin's PDF code

2005-01-27 Thread Valentin Schmidt
Hi Leif, ... Basically, we are traveling through each pixel of the image and adding the chars to the string. I tried using: data = data chr(col.red) chr(col.green) chr(col.blue) since using put seemed too old school, even for and old man like me. But I got the same results. AFAIK, it's

Re: lingo-l Build Scripts (i.e. Publishingfromacommandline)[Direct-L cross-post]

2005-01-27 Thread Valentin Schmidt
] On Behalf Of Valentin Schmidt Sent: 27 January 2005 18:28 To: Lingo programming discussion list Subject: Re: lingo-l Build Scripts (i.e. Publishing fromacommandline)[Direct-L cross-post] Troy Rollins wrote: On Jan 27, 2005, at 11:56 AM, Valentin Schmidt wrote: I've uploaded a list

Re: lingo-l Build Scripts (i.e. Publishing from a command line) [Direct-L cross-post]

2005-01-26 Thread Valentin Schmidt
I got it, it's really possible to publish from the commandline with DMX2004 and windows. this is how: 1) create a little dir (e.g. 240 * 32 px) with the following frame-script on frame 2 or later: on exitFrame cl=the commandLine if cl.word[1] = -p then tell the stage go movie

Re: lingo-l alerthook on the stage, no alerthook in a miaw

2005-01-21 Thread Valentin Schmidt
Hi Michael, 2 ideas: 1) if you only want to block lingo generated alerts, not error alerts, just put a on alert nothing end in some movie script of your miaw, which overwrites the alert command. 2) instead of changing the alerthook you could also have different return values in your alerthook

Re: lingo-l Lingo repeat loop versus other languages

2005-01-06 Thread Valentin Schmidt
Kerry Thompson wrote: ... - slow as hell: directly interpreted source code. The runtime engine reads the source code directly and figures out how to execute it. Out of curiosity I also tried the same in PHP (interpreted language) the empty repeat loop: $m0 = microtime(1); for ($i=0;

Re: lingo-l Lingo repeat loop versus other languages

2005-01-05 Thread Valentin Schmidt
A) Lingo (DMX) ms0 = the milliseconds repeat with i = 1 to 1 j=1 end repeat ms1 = the milliseconds put (ms1-ms0) -- 26917 B) VC++ 6.0, console app ... _ftime( tstruct0 ); for (i=0; i1; i++) j=1; _ftime( tstruct1 ); ... -- 240 (milliseconds) So a ratio of about 100:1 on my