Please enable JavaScript to view this site.

This function writes a u32 variable into a buffer at the specified offset.

Syntax

set_u32 (buffer, i32 offset, u32 set_val)

buffer

Can be an array, structure, or register

offset

Offset in bytes

set_val

U32 value to be written

Validity

Task, Rule

Note

Range check is NOT performed, it is up to the user to check that adding the offset and the data size does not exceed the maximum buffer size. See example.

If the user wishes to write a u32 into the 'data' buffer of a structure of type bbc_msguser then he must use the function bcc_set_u32().

The mirror function is the get_u32()

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC