Mailing List Archive



Back to the month index Back to the list index

Darrell Schulte (dschulte@facstaff.wisc.edu)
Thu, 1 Apr 1999 12:30:08 -0500


Message-Id: <v04020a23b3295d4fc0cf@[144.92.15.71]>
Date: Thu, 1 Apr 1999 12:30:08 -0500
From: Darrell Schulte <dschulte@facstaff.wisc.edu>
Subject: Re: Lite / Form Question

At 1:04 PM -0500 4/1/99, Mitch Shields wrote:
+I would like to add my support for some sort of object like that or the
+ability in lite to create a string and then evaluate that string as though
+it where a variable.
+
+For instance, if I have form fields named $client_0, $client_1, $client_2, I
+would like to be able to do something like this:
+
+$i = 0
+while ($i < 3)
+{
+ $value[$i] = $client_$i
+}
+
+Or is something like that available now?

Mitch,

Would this do it? (never used it and not completely sure when I'd ever use it)

Lite / w3-mSQL
--------------

        o The createVariable() function has been added to the standard
          module to allow dynamic creation of variables. It takes the
          name and value of the variable as it's two args. The name
          _MUST_ include wither a '$' for a local scope variable or a
          '@' for global scope variables. If the name does not start
          with either '$' or '@' the function call fails.

          e.g. createVariable("$myVariable","My Variable Value");
                $foo = "$baa";
                createVariable($foo, "The variable is called $baa");

Darrell
_____________________________________________________________________
          Darrell A. Schulte - dschulte@facstaff.wisc.edu
 University of Wisconsin-Madison - Office of News and Public Affairs
  The Why Files http://whyfiles.news.wisc.edu - The Graduate School
102A Bascom Hall, 500 Lincoln Drive - Madison WI 53706 (608) 265-8551
From joshua@shell.warped.com Thu Apr 1 19:40:54 1999
Received: from shell.warped.com (root@shell.warped.com [209.133.28.34])
        by services.bunyip.com (8.8.5/8.8.5) with ESMTP id TAA25180
        for <msql-list@services.bunyip.com>; Thu, 1 Apr 1999 19:40:53 -0500 (EST)
Received: from localhost (localhost [[UNIX: localhost]])
        by shell.warped.com (8.8.8/8.8.5) with SMTP id QAA16863;
        Thu, 1 Apr 1999 16:40:46 -0800 (PST)
Date: Thu, 1 Apr 1999 16:40:41 -0800 (PST)
From: Joshua Dinerstein <joshua@warped.com>
To: msql-list@services.bunyip.com,
        mSQL Win32 Mailling List <mSQL_Win32@listbot.com>
cc: Joshua Dinerstein <joshua@shell.warped.com>, mevans@skygames.com,
        fmaior@upol.com.br, internet@mtecnet.com.br
Subject: Released my Mail32.exe smtp client for Win32...
Message-ID: <Pine.NEB.3.96.990401163819.16821B-100000@shell.warped.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

        Hi Peoples,

        A quick announcement, now that my email is working again...
Yesterday I released the source and binaries to my Mail32.exe client. It
is a fairly simple C program for sending mail. It can be nicely called
from lite.exe program to send mail.

        Not the greatest of solutions but it has worked for me for a long
time so....

        Joshua