... I'm aware of the different between CALLFUNC and FUNCCALL. Yet, it was not the source of the problem. Btw, I'm just completed tracing which Single variable...
Is there any reason that repeatedly calling the following Sub in my program should cause the program to suddenly just close? (not crash). Sub CheckAndLoad If...
dim mylist as memory myfile.position= tagposition print myfile.readbinstr (128) ' this prints from myfile.position myfile.MemCopyTo( tagblock, 3 ) ' this...
... .MemCopyTo is not listed as a FILE object method. However, myfile.CopyFrom tagblock,3 should copy 3 bytes to myfile at its position from tagblock at its...
I had forgotten to mention that is was defined as MEMORY NOT FILE but file has same problem. dim myfile as memory .readstr (30) is OK .CopyFrom (tagblock,30)...
... Cor, here is my test code and I think the Manual is not correct on MEMCOPYFROM and MEMCOPYTO: =====copybyte.bas $APPTYPE CONSOLE dim m1 as memory, m2 as...
Thanks Jim, for your quick explanation but i think MemCopyFrom and MemCopyTo do not work if postion <> zero You examples show position=zero before exe these...
... You are right; I think I did not express that clearly. Maybe the manual should say for MEMCOPYFROM and MEMCOPYTO that the copied bytes will always be...
... Great! Some options other than use of arrayref() are simply make a copy of the array in your SUB. Then the argument you need is only @A where A is the...
... So to speak. I completed a transfer of hotbasic.org to an account of my own. There is no telling, at this point, how long that will take to become...
... This should be OK if you are using the current HB version posted for download. Some weeks back, an issue re closing a FindFile handle was corrected,...
... Others do not have to put a .repaint statement for the "old" controls to which this applies, since they want the new text color to be shown when the...
... Additional thought: For these "old" controls, including LISTBOX, LABEL, EDIT, etc, a program might want to do a number of color changes and then .Repaint...
I have defined a name filename$ as string in a argument of a sub I have fileName$ defined in a sub when I do a print filename$ by accident instead of fileName$...
... Very nice! ... You would not want to pass sbptr as any API call argument, such as in SENDMESSAGE, because it is a pointer to the array object data, not to...
... The keyword above is "find". For me, in working with the compiler's code, HotFind.exe is the most used utility. A debug issue re symbol names -- piece of...
I made some searches before posting this, but couldn't easily find what i needed, so i hope i will not bother everybody with a repeated request. I am extending...
... The SELF (and THIS) keywords automate implementation of BYREF() and BYREF$() statements/functions. As such, they are used to access 32-bit values by...
... ...because .position of FORM objects is type-dependent. Therefore, one would write window(handle,SCROLLBAR).position so the compiler can know that the...
Its been some time since I used HOTSAUCE to download the latest HotBasic Penthouse compiler build but now it no longer seems to work. I downloaded the most...
... Someone used HotSauce to download the Trial version just hours ago. If my local server is off-line, you will, of course, not get a download. It's like...
Hello LbL ... If you use .Clear on a string, memory or list object, the RAM allocation is reduced back to a small baseline size (about 74 bytes). A$ = "" or A$...
Philip Bister
philip.bister@...
Mar 3, 2007 5:59 pm
11824
... Okay, that makes sense now that you've spelled it out. Pointers were the main reason I quit using C some years ago so hopefully I won't have to use them...