Hi
I do not understand how this stmt works -> m[0].selected ^= 1;
^= is assignment operator? how does it work?
This is my version:
//if selected is all, denote by 'S'
if(p_SELORD->selflg[0][0] == 'S') {
//loop the rest and set to empty
for(i=0; i<oputl_get_arycnt(tx212o->arycnt1)+1; i++) {...
Hi,
I want to do a selection of options, but have limitation on the selected options.
FOr examples,
---------------
List of options
---------------
* All
Select1
Select2
If All is selected (* denote selected), then Select1 and the rest is bar from being selected, unless All is...
I have this string info[35]. i want to extract the last 7 byte, so i shall extract from &info[29]. I use memmove to do this extracting, but return funny characters.
memset(nfo, 0x00, sizeof(nfo));
memcpy(nfo, info, sizeof(info)); //copy whole string 35 byte
memmove(nfo, &nfo[29], 7); //move the...
i have this info[35] can conntain 35 bytes, but now i only wan to extract the last 5 bytes and push it into DB, is this stmt correct?
start from byte ->30, and read only 5 byte.
memcpy(dorgnins_db.info, info[30], 5 );
I want to run 2 case one after another, how can this be possible?
I've try to omit the break stmt after case 1: ; like this->
case '1' :
do_selection();
case '2' :
process_selected_item();
break;
default:
break;
but it didnt work out. hav other way in doing this?
thanks
i want to strtok a string from flat file which consist of 3 part..(eg. N XXX98 34-XXX)
howto assign each part into a variable so i can memcpy the last part into a variable? i do not want to use printf which print out the output to screen.
I do not want to update all the records. I only want to update the record that the user specify by inputing the RID number. So each time, the user can only update 1 record according to the user preference on the PID number which exist only if the user had inserted a new record, whereby the RID...
What i'm trying to do here is to update the book for each user input PID.
the problem is why i'm unable to update the rest of record, but only able to update the first record?
there is no effect when i try to update other PID, but only able to update the first PID record on db.
below is the...
The code shown only limit to delete 3 listed checkbox.
I would like it to be able to delete not only 3 checkbox, but all listed checkbox. it means it will loop thru all the data from the DB and each have a checkbox can be checked to delete.
i wan to loop through every checkbox and able to delete as many check box that are checked. but the code shown only limit to 3 checkbox. how can i delete all the checked box?
if cancel = "Delete" then
If request("Cancel1") = "" then Cancel1 = 0 else Cancel1 =...
to ccat999
It does work. even i follow exactly your variable, it just didnt work. If i include the Option Explicit it return this error
Microsoft VBScript compilation error '800a0400'
Expected statement
/test.asp, line 8
Option Explicit
^
else if i don't include the Option Explicit, it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.