Skip to search.

(*) Scheduled Maintenance: We are undertaking some essential, but extensive maintenance to improve Yahoo! Calendar. Your Group Calendar is being migrated to a much improved version of Yahoo! Calendar. During the maintenance period, you may not have access to your Groups Calendar. We sincerely apologize for this inconvenience. Your Groups Calendar is in great shape and we are working to have it available again as quickly as possible - Yahoo! Groups & Yahoo! Calendar Team

BCX · The Open Source BASIC to C Translator

Group Information

  • Members: 1003
  • Category: Basic
  • Founded: Jul 9, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.
Click here for the latest updates on Groups Message search

Messages

  Messages Help
Advanced
Messages 41976 - 42007 of 42818   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
41976 brother.gabriel Offline Send Email Jul 1, 2011
2:01 pm
Well, the VBS_EVAL_STR$ doesn't do what I need. I want to do this: dim myvar$ myvar$ = "somestring" function myfunction$(whatstring) function =...
41977 brother.gabriel Offline Send Email Jul 1, 2011
2:27 pm
How can I do this? I know I could make a sort of "switcher" function using select case to do this, but then I have to have all the functions listed in the...
41978 wmhalsdorf Offline Send Email Jul 1, 2011
9:08 pm
... Here's a rewrite of what I think you want to do along with an additional way. $typedef char * (__cdecl *STF_TYPE)(char *) SET pfStringFunctions[] AS...
41979 brother.gabriel Offline Send Email Jul 1, 2011
10:52 pm
Mr. Halsdorf - thank you! Now I shall have to understand what is happening. I shall need to add parameters to the "do" functions too. I think, maybe, in...
41980 wmhalsdorf Offline Send Email Jul 1, 2011
11:25 pm
... The key to all of this is the $typedef directive. $typedef char * (__cdecl *STF_TYPE)(char *) char * - what the function returns (__cdecl...
41981 brother.gabriel Offline Send Email Jul 2, 2011
1:27 am
I think I understand something. (__cdecl *STF_TYPE2) --> is the function name (char*) or (char*, char*) --> are the parameters $typedef char* --> is where we...
41982 wmhalsdorf Offline Send Email Jul 2, 2011
1:50 am
... You have the basic idea of how to do it. If you need any more help let me know....
41983 brother.gabriel Offline Send Email Jul 2, 2011
2:25 am
This seems funny to me. ... (I shouldn't need to write a function for reverse$ when BCX already has it...) $typedef char * (__cdecl *STF_TYPE)(char *) dim...
41985 magic_user_68 Offline Send Email Jul 2, 2011
2:02 pm
Since BCX is compiled and not interupted, the c code will only include commands that you have used. I suggest you make a dummy function or sub that uses...
41986 brother.gabriel Offline Send Email Jul 2, 2011
2:27 pm
Well, I found this in BCX help: BCX is able to correctly translate a parameter formed from a call to a FUNCTION or SUB as in this example. SUB WalkDir(szPath$,...
41987 brother.gabriel Offline Send Email Jul 2, 2011
2:44 pm
Okay, I understand that. That makes sense to me - that it would have to be included in the BCX code in order for it to appear in C. We are, after all, sort...
41988 wmhalsdorf Offline Send Email Jul 2, 2011
3:44 pm
... Close, you missed the needed function to make it work. Compare the two. $typedef char * (__cdecl *STF_TYPE)(char *) dim sentence$ sentence$ = "This bud's...
41989 brother.gabriel Offline Send Email Jul 2, 2011
3:54 pm
Mr. Halsdorf, I know - that was a typo, actually - I realized that after I posted. I finally go it, however - mr. Magic told me what I was missing....
41990 magic_user_68 Offline Send Email Jul 2, 2011
4:00 pm
Check this out! More simple way to do it. - Scott ... dim sentence$,changed$ sentence$ = "This bud's for you." changed$ =...
41991 brother.gabriel Offline Send Email Jul 2, 2011
4:05 pm
Uh, that gives me a compile error: test1.c(240): warning #2154: Unreachable code. test1.c(265): error #2140: Type error in argument 1 to 'strlen'; expected...
41992 magic_user_68 Offline Send Email Jul 2, 2011
4:10 pm
It works in LCC, I will try to fix it for Pelles, will post when I get it working. - Scott...
41994 magic_user_68 Offline Send Email Jul 2, 2011
6:45 pm
I got it to work in Pelles by using what Wayne gave us. Created my own farproc command with typedef. If you use commands other than reverse you need to make...
41995 gsac3 Offline Send Email Jul 2, 2011
7:47 pm
Kevin & Doyle: I have a copy of BCXIDE on a thumbdrive. It works OK except that when it runs, it always looks for the BCX directory on my PC's hard drive, not...
41996 brother.gabriel Offline Send Email Jul 2, 2011
7:50 pm
Mr. Magic, that works like a charm. It looks like we are declaring a type like Mr. Halsdorf offered us, then, instead of including every bcx function...
41997 Robert
rwishlaw Offline Send Email
Jul 2, 2011
8:01 pm
... Hi Don: From the thumbdrive folder holding the BCX .exe type bc.exe -r When you want to change it back, type bc.exe from whatever folder is holding the...
41998 Robert
rwishlaw Offline Send Email
Jul 2, 2011
8:08 pm
... That should read "type bc.exe -r" ... Robert Wishlaw...
41999 brother.gabriel Offline Send Email Jul 2, 2011
8:09 pm
How can I find out the length of an array? Also, is there no way to create an array that will grow to fit its contents?...
42000 wmhalsdorf Offline Send Email Jul 2, 2011
8:27 pm
... dim a$[15][10] dynamic b$[20] print sizeof(a$)/sizeof(a$[0]) print sizeof(a$)/sizeof(a$[0][0]) dim i i = 0 while b[i++] : wend print i-1 redim preserve...
42001 Robert
rwishlaw Offline Send Email
Jul 2, 2011
8:46 pm
... Hi BG: I will revise this less than helpful example. Robert Wishlaw...
42002 gsac3 Offline Send Email Jul 2, 2011
8:58 pm
Robert: Thank you very much. Works fine. You guys think of everything. Don...
42003 brother.gabriel Offline Send Email Jul 2, 2011
9:21 pm
Hey, you all, the source of the help file, are more than helpful! If I am able to add anything to BCX, if in the least, by finding little things like this,...
42004 Doyle Whisenant
mecsoftware Offline Send Email
Jul 2, 2011
11:46 pm
... See : UBOUND will return the largest value of an array subscript. This only works with single dimensioned, static arrays. Also, is there no way to create...
42005 brother.gabriel Offline Send Email Jul 2, 2011
11:57 pm
Yes, I was looking at UPBOUND - but I don't need the largest value of any of the elements - I just need the total number of elements. Am I misunderstanding...
42006 brother.gabriel Offline Send Email Jul 3, 2011
12:07 am
Okay, I already know about redim. Consider this - I want to run a string through a split command, but I don't know beforehand how many elements the split will...
42007 John Spikowski
johnspikowski Offline Send Email
Jul 3, 2011
12:52 am
... I feel your pain with languages that require pre-dimensioning. I used SPLITA in the word count code challenge and it created an array of every word in the...
Messages 41976 - 42007 of 42818   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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