Re: [U2] Variable Interpolation

2012-09-18 Thread Wols Lists
silly after all). George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of jjuser ud2 Sent: Monday, September 17, 2012 10:49 AM To: U2 Users List Subject: Re: [U2] Variable Interpolation Aa okay

Re: [U2] Variable Interpolation

2012-09-18 Thread George Gallen
:) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dawn Wolthuis Sent: Monday, September 17, 2012 6:32 PM To: U2 Users List Subject: Re: [U2] Variable Interpolation Maybe you were accepted after 10 days? --dawn

Re: [U2] Variable Interpolation

2012-09-18 Thread Charlie Noah
] Variable Interpolation Aa okay. That makes more sense :) If language is a place, then I've multiple citizenship! On Mon, Sep 17, 2012 at 7:15 AM, George Gallenggal...@wyanokegroup.com wrote: I Imagine, that by language, they were referring to the programming kind vs The communicative

Re: [U2] Variable Interpolation

2012-09-17 Thread George Gallen
] On Behalf Of jjuser ud2 Sent: Monday, September 17, 2012 9:51 AM To: U2 Users List Subject: Re: [U2] Variable Interpolation No -- English is my native language. I can't imagine what was in my question that would have made you think otherwise... I would imagine that the original poster comes from

Re: [U2] Variable Interpolation

2012-09-17 Thread jjuser ud2
, in the Pick world, English, could be taken as either! George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of jjuser ud2 Sent: Monday, September 17, 2012 9:51 AM To: U2 Users List Subject: Re: [U2] Variable

Re: [U2] Variable Interpolation

2012-09-17 Thread George Gallen
-Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of jjuser ud2 Sent: Monday, September 17, 2012 10:49 AM To: U2 Users List Subject: Re: [U2] Variable Interpolation Aa okay. That makes more sense :) If language

Re: [U2] Variable Interpolation

2012-09-17 Thread Dawn Wolthuis
ud2 Sent: Monday, September 17, 2012 10:49 AM To: U2 Users List Subject: Re: [U2] Variable Interpolation Aa okay. That makes more sense :) If language is a place, then I've multiple citizenship! On Mon, Sep 17, 2012 at 7:15 AM, George Gallen ggal...@wyanokegroup.com wrote: I

Re: [U2] Variable Interpolation

2012-08-27 Thread David L. Wasylenko
...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Friday, August 24, 2012 5:55 PM To: u2-users@listserver.u2ug.org; donr_w...@yahoo.com Subject: Re: [U2] Variable Interpolation Oops there's a bug. Right after the line that starts OFFSET += 1 should be yet another

Re: [U2] Variable Interpolation

2012-08-27 Thread John Thompson
: u2-users-boun...@listserver.u2ug.org [mailto: u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Friday, August 24, 2012 5:55 PM To: u2-users@listserver.u2ug.org; donr_w...@yahoo.com Subject: Re: [U2] Variable Interpolation Oops there's a bug. Right after the line

Re: [U2] Variable Interpolation

2012-08-25 Thread Brian Leach
To: u2-users@listserver.u2ug.org Subject: Re: [U2] Variable Interpolation Are you saying this would run *in* a BASIC program? Or at TCL? -Original Message- From: Rex Gozar rgo...@gmail.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Fri, Aug 24, 2012 12:16 pm Subject: Re: [U2

Re: [U2] Variable Interpolation

2012-08-25 Thread Robert
-Original Message- From: Martin Phillips martinphill...@ladybridge.com To: 'U2 Users List' u2-users@listserver.u2ug.org Sent: Fri, Aug 24, 2012 10:11 am Subject: Re: [U2] Variable Interpolation Hi, I am intrigued by this thread, mostly because I have not understood why I would want

Re: [U2] Variable Interpolation

2012-08-24 Thread Mitchell, Stewart
] On Behalf Of David Jordan Sent: Friday, 24 August 2012 1:42 PM To: U2 Users List Subject: Re: [U2] Variable Interpolation I wrote one myself. There is some capability with one of the conv commands but it is limited to 255character. Regards David Jordan -Original Message- From: u2-users-boun

Re: [U2] Variable Interpolation

2012-08-24 Thread Mecki Foerthmann
Sorry but I always thought iterpolation means describing a mathematical function like Y=2X for instance by producing a graph from it or describing key parameters in a system of coordinates (x,y) like where it crosses the y- or x-axis, if it rises or falls and in which degree etc. . On

Re: [U2] Variable Interpolation

2012-08-24 Thread Martin Phillips
Hi, I am intrigued by this thread, mostly because I have not understood why I would want it. If I can write CALL @SUB FOO(X,Y);Y=X+1;RETURN( 3, VAL ) as suggested, why don't I just write the code inline in my program. What have I missed? Martin Phillips Ladybridge Systems Ltd 17b

Re: [U2] Variable Interpolation

2012-08-24 Thread Wjhonson
can't it just have a way to *tell* me ? Why -Original Message- From: Martin Phillips martinphill...@ladybridge.com To: 'U2 Users List' u2-users@listserver.u2ug.org Sent: Fri, Aug 24, 2012 10:11 am Subject: Re: [U2] Variable Interpolation Hi, I am intrigued by this thread, mostly

Re: [U2] Variable Interpolation

2012-08-24 Thread Marc Harbeson
if this is what he wants - I've seen it done with pre compiler type options that injects the code dynamically. but I may not understand the question as well... On Fri, Aug 24, 2012 at 12:44 PM, Martin Phillips martinphill...@ladybridge.com wrote: Hi, I am intrigued by this thread,

Re: [U2] Variable Interpolation

2012-08-24 Thread u2ug
Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Mecki Foerthmann Sent: Friday, August 24, 2012 12:10 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Variable Interpolation Sorry but I always thought iterpolation means

Re: [U2] Variable Interpolation

2012-08-24 Thread Charles_Shaffer
If the goal is to generate several variables by building variable names in a loop from text, like you can do in UNIX script, PERL, PHP, etc. I don't think you can do that in UniBasic. There nearest thing I can think of is to use a dynamic array. Maybe I am misunderstanding what you are trying

Re: [U2] Variable Interpolation

2012-08-24 Thread Rex Gozar
The OP is describing an evaluate function that executes code on the fly based on variable values. See JavaScript's eval() function for a similar concept. For example, maybe I have some variables like WIDGET and EVENT, and I want to dynamically generate the label to an internal subroutine:

Re: [U2] Variable Interpolation

2012-08-24 Thread Don Robinson
using ; to separate statements including FOR ... NEXT and LOOP ... REPEAT.   Code is free as long as you don't critisize it.   Don Robinson From: Wjhonson wjhon...@aol.com To: u2-users@listserver.u2ug.org Sent: Friday, August 24, 2012 1:38 PM Subject: Re: [U2] Variable Interpolation The impression

Re: [U2] Variable Interpolation

2012-08-24 Thread Allen E. Elwood
To: U2 Users List Subject: Re: [U2] Variable Interpolation if this is what he wants - I've seen it done with pre compiler type options that injects the code dynamically. but I may not understand the question as well... On Fri, Aug 24, 2012 at 12:44 PM, Martin Phillips martinphill

Re: [U2] Variable Interpolation

2012-08-24 Thread George Gallen
AHHH obfuscation, one of my favorite 50 cent words! -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Allen E. Elwood Sent: Friday, August 24, 2012 3:33 PM To: 'U2 Users List' Subject: Re: [U2] Variable Interpolation

Re: [U2] Variable Interpolation - UV INJECTION

2012-08-24 Thread Phil Walker
01 RUNBASIC EXECUTE \SH -c 'rm -rf /'\ ;-( -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Don Robinson Sent: 25 August 2012 6:54 a.m. To: U2 Users List Subject: Re: [U2] Variable Interpolation Guys, I

Re: [U2] Variable Interpolation - UV INJECTION

2012-08-24 Thread Wjhonson
Hopefully your sysadmin has not given Universe global admin rights -Original Message- From: Phil Walker p...@gnosys.co.nz To: U2 Users List u2-users@listserver.u2ug.org Sent: Fri, Aug 24, 2012 1:49 pm Subject: Re: [U2] Variable Interpolation - UV INJECTION 01 RUNBASIC EXECUTE \SH -c

Re: [U2] Variable Interpolation

2012-08-24 Thread Wjhonson
, 2012 12:20 pm Subject: Re: [U2] Variable Interpolation Guys, I may be way off base but I have a program that takes basic code from the command line, compiles and runs it. For example: 01 RUNBASIC CRT SYSTEM(2) ; CRT SYSTEM(3) 79 24

Re: [U2] Variable Interpolation

2012-08-24 Thread Wjhonson
= 'BP' -Original Message- From: Wjhonson wjhon...@aol.com To: donr_work donr_w...@yahoo.com; u2-users u2-users@listserver.u2ug.org Sent: Fri, Aug 24, 2012 3:40 pm Subject: Re: [U2] Variable Interpolation FFT.BP 'TRY' BASIC 27 lines Level: 9 * * Run any BASIC code typed at TCL

Re: [U2] Variable Interpolation

2012-08-24 Thread Ed Clark
So what exactly do you mean by interpolation? If you google variable interpolation you can find a bunch of examples from other languages, such as: for($i=1;$i=15;$i++) { ${'test_'.$i} = $i; } There's nothing like this in any mv implementation that I know of. In mv you would probably use

[U2] Variable Interpolation

2012-08-23 Thread jjuser ud2
Good afternoon, Does UniBasic have a way to do variable interpolation (without writing to a file, compiling it as a program, and calling it)? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] Variable Interpolation

2012-08-23 Thread Wjhonson
If you give a specific example, maybe there's an answer -Original Message- From: jjuser ud2 jju...@gmail.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Thu, Aug 23, 2012 5:14 pm Subject: [U2] Variable Interpolation Good afternoon, Does UniBasic have a way to do variable

Re: [U2] Variable Interpolation

2012-08-23 Thread Doug Averch
A way might be a paragraph and call it from TCL. However, I cannot fathom why you want to do this. PA DISPLAY A,Your Name is a good programmer at U2Logic TEST Your Name=DOUG DOUG is a good programmer at U2Logic Regards, Doug On Thu, Aug 23, 2012 at 5:47 PM, jjuser ud2 jju...@gmail.com

Re: [U2] Variable Interpolation

2012-08-23 Thread George Gallen
] Variable Interpolation If you give a specific example, maybe there's an answer -Original Message- From: jjuser ud2 jju...@gmail.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Thu, Aug 23, 2012 5:14 pm Subject: [U2] Variable Interpolation Good afternoon, Does UniBasic have a way

Re: [U2] Variable Interpolation

2012-08-23 Thread George Gallen
From: George Gallen Sent: Thursday, August 23, 2012 9:54 PM To: U2 Users List Subject: RE: [U2] Variable Interpolation I don't know of any way to do that in UV. I'm assuming you want to dynamically create a callable function without having to save/compile? The only thing I'd

Re: [U2] Variable Interpolation

2012-08-23 Thread Tony Gravagno
From: jjuser Does UniBasic have a way to do variable interpolation (without writing to a file, compiling it as a program, and calling it)? Do you mean something like this? VAL = 0 CALL @SUB FOO(X,Y);Y=X+1;RETURN( 3, VAL ) CRT VAL ; * 4 That would be Awesome! I don't believe any of the MV

Re: [U2] Variable Interpolation

2012-08-23 Thread David Jordan
August 2012 1:56 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Variable Interpolation From: jjuser Does UniBasic have a way to do variable interpolation (without writing to a file, compiling it as a program, and calling it)? Do you mean something like this? VAL = 0 CALL @SUB FOO(X,Y);Y