Search the web
Sign In
New User? Sign Up
hotbasic
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 10136 - 10165 of 17146   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
10136
... hmmm. Might be argued that, in general, especially for so-called "critical applications", it is not good because the compiler would not error-check call...
doctor electron
globalservices1
Offline Send Email
May 1, 2006
11:47 am
10137
... Make that THREE: =====vararg.bas $APPTYPE CONSOLE 'using variable number of arguments 'yet another example in addition to SUBI.INC and .Invoke defint stack...
doctor electron
globalservices1
Offline Send Email
May 1, 2006
12:29 pm
10138
... <snip> ... Thanks Doc for the reply. The SKIP or SUBI-like option should not being asked or included, I think. Since it will pull away the real context of...
Don
don67geo
Offline Send Email
May 1, 2006
10:42 pm
10139
... In a Custom Object ... hmmm, Like this? ... OBJECT ARG arg3 as long = 12 invoke as sub END ARG Declare sub invoke sub invoke 'code to use byref(@ARG.arg3)...
doctor electron
globalservices1
Offline Send Email
May 2, 2006
12:18 am
10140
... Isn't this as easy as IF arg3 = default THEN arg3 = 12 in your SUBI or VARARG.bas procedure. You define what is default and if found, you define what is...
doctor electron
globalservices1
Offline Send Email
May 2, 2006
12:28 am
10141
... Yes Doc, I just found the same technique a moment ago. When I try to set 'default' using value that exceeding long/integer value. e.g.; '==== testargs.bas ...
Don
don67geo
Offline Send Email
May 2, 2006
1:30 am
10142
I not sure it's a bug or not but following code will produce error. White-space is not allow before the parenthese: '=== begin code $apptype console declare...
Don
don67geo
Offline Send Email
May 2, 2006
1:34 am
10143
... correct, your "nothing" should be an "unaccepted value"; if there is no such value, I feel obliged to ask ... what is your procedure doing that there is no...
doctor electron
globalservices1
Offline Send Email
May 2, 2006
2:03 am
10144
... Not a bug, dear friend, it's the same syntax as in ordinary (Western?) languages, what you have learned in no doubt many years of schooling ... Please see...
doctor electron
globalservices1
Offline Send Email
May 2, 2006
2:07 am
10145
... hmmm. with .Invoke, "void" is a different data type and easily detectable. Or in your example if the entire LONG range is a valid arg value, maybe you...
doctor electron
globalservices1
Offline Send Email
May 2, 2006
2:19 am
10146
... Brother Don. If you really want to be a rebel and write like above, add this: $DEFINE " )" ) and see if that let's you write like an illiterate, so to...
doctor electron
globalservices1
Offline Send Email
May 2, 2006
2:30 am
10147
... I can't get sys_uname to work (for Linux VERSION object) but I am happy. Don is back! I love it. So I'm goofing off. Now do you want to pick up the...
doctor electron
globalservices1
Offline Send Email
May 2, 2006
2:41 am
10148
... I'm making an earth-core sub-marine. You don't have to go outer space to get those numbers running out. :-) No I joking. ... I need something is exist to...
Don
don67geo
Offline Send Email
May 2, 2006
6:20 am
10149
... Thats is really funny. :-D At the same time, the following will not given any errors: testarg( 2, int(23/4), 10 ) a = int( 23/4 ) It keeps me wonder if...
Don
don67geo
Offline Send Email
May 2, 2006
6:34 am
10150
... Whew! Relief... I woke up this morning with one thought: delete my last two messages which might be construed as offensive rather than humorous! You...
doctor electron
globalservices1
Offline Send Email
May 2, 2006
10:12 am
10151
... Right, "void" as used in .Invoke is a unique VARIANT data type and therefore is unambiguous. However, most might want to avoid the overhead of using...
doctor electron
globalservices1
Offline Send Email
May 2, 2006
10:43 am
10152
... So then, VARIANT should accept any datatype isn't it? I think I've found another bug when I recieved this error: ERROR Type mismatch mysub (123, void, 0) ...
Don
don67geo
Offline Send Email
May 3, 2006
12:28 am
10153
... To evaluate a Type mismatch, one needs the DECLARE for mysub to know what type it is expecting. ...Oh, you have that below... ... HotFind > void reveals...
doctor electron
globalservices1
Offline Send Email
May 3, 2006
1:26 am
10154
... This is not what I want! I want that 0 (zero) taken as argument value. Whilst you sip your champagne, let me take a moment to choose between these 2...
Don
don67geo
Offline Send Email
May 3, 2006
2:06 am
10155
... No problem. Then it's dim x as variant: x = 0 mysub(123, void, x) ... Could help -- if impressionable children are not around. ... "...get back my...
doctor electron
globalservices1
Offline Send Email
May 3, 2006
2:17 am
10156
... Or ... $DEFINE mysub g1.Invoke OBJECT game1 Invoke as sub END game1 DECLARE SUB Invoke SUB invoke 'code like you have in mysub 'see ComHelper source on...
doctor electron
globalservices1
Offline Send Email
May 3, 2006
2:48 am
10157
Okay, the "One" by Metallica just give me a nice little bang into my head.. :-) ... Not neccessarily have to bloat with another variant. This will do: arg3 = 0...
Don
don67geo
Offline Send Email
May 3, 2006
3:16 am
10158
... Agreed. Good idea for the compiler to suspend type checking for Variant args so any arg would be stored in the variant. ... Actually, nothing is pushed on...
doctor electron
globalservices1
Offline Send Email
May 3, 2006
3:54 am
10159
======================= 2D and 3D Array Layouts ======================= 2D & 3D array always got me confused because i can't visual them how they were placed...
Don
don67geo
Offline Send Email
May 3, 2006
7:31 am
10160
... Don, please take a look at hotredim.bas (HotTrial.zip) which shows that the right-most subscript is first, then that is repeated for next subscript, etc....
doctor electron
globalservices1
Offline Send Email
May 3, 2006
11:41 am
10161
Hottrial.zip > fastfor.bas I compiled it and found that the for loop WITH the STEP was decidely faster, not slower. (.13 down to .04) Armed with this...
enpsuedo
Offline Send Email
May 3, 2006
1:20 pm
10162
... This and your other results are very interesting. Not what I would expect -- but what do I know? Have to check this out. Maybe we have a mystery here ......
doctor electron
globalservices1
Offline Send Email
May 3, 2006
1:37 pm
10163
... It gets weirder! I standardized the TO as 2147483646 (When using the integer limit of 2147483647 it gets a little funny! First Loop 0 secs. Second does not...
enpsuedo
Offline Send Email
May 3, 2006
2:37 pm
10164
Whilst I remember, I wanted to ask, Does Hot!basic cater for SMP (Multi CPU) processing? I did look through the doco and THREADS was the closest I could come ...
enpsuedo
Offline Send Email
May 3, 2006
3:38 pm
10165
... Well, you can have multiple threads running. Second, you can use any valid CPU opcode in HB. Thus, it would seem to me that there is no reason why this...
doctor electron
globalservices1
Offline Send Email
May 3, 2006
4:08 pm
Messages 10136 - 10165 of 17146   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help