That's fine, but not the point...

by (Login qb432l)
R

The point is, you have to set the segment marker before you use PEEK. For example:

Address = VARSEG(n)

Then...

DEF SEG = Address

Now you're reading from the segment in which n resides. Without DEF SEG, you're reading from the default segment.

-Bob

Posted on Apr 19, 2010, 6:41 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
Ain't working.. on Apr 20
 Don't mix segments and offsets on Apr 20
  Does it make sens ?Lisztfr on Apr 20
   Because it's a floating point numberBen on Apr 20
    Ok !Lisztfr on Apr 20
     * Place the asterisks IN the empty message titles you two! on Apr 20