View Single Post
  #85    
Old May 22nd, 2008 (09:32 PM).
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Quote:
Originally Posted by cooley View Post
Is this correct to write all these bytes next to each other?

Thanks, by the way!

Code:
If opt2.Value = True Then
            Put #iFileNum, &H5AD5, &H2
            Put #iFileNum, &H5AD6, &H0
            Put #iFileNum, &H5AD7, &H1
            Put #iFileNum, &H5AD8, &HFF
        If opt3.Value = True Then
            Put #iFileNum, &H5AD9, &O3
            Put #iFileNum, &H5ADA, &H0
            Put #iFileNum, &H5ADB, &H1
            Put #iFileNum, &H5ADC, &H2
            Put #iFileNum, &H5ADD, &HFF
       If opt4.Value = True Then
            Put #iFileNum, &H5ADE, &H4
            Put #iFileNum, &H5ADF, &H0
            Put #iFileNum, &H5AE0, &H1
            Put #iFileNum, &H5AE1, &H2
            Put #iFileNum, &H5AE2, &H3
            Put #iFileNum, &H5AE3, &HFF
Close #iFileNum
Yes, but you never opened the File for Editing...

Also, you didn't end your IF Statements.
__________________
あなた は しきしゃ です
わたし は ばか です
Reply With Quote