Announcement

Collapse
No announcement yet.

Spelling mistake, right?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Paul Dixon
    replied
    TIMEOUT is a reserved word in the compiler. It's not uncommon to vary the spelling to avoid conflicts with reserved words.

    Leave a comment:


  • Michael Mayerhoffer
    replied

    No it is not.


    timeval is a structure


    and Tymeout is the variable usage for the structure


    Tymeout as timeval

    Tymeout.tv_sec
    Tymeout.tv_usec

    TYPE timeval
    tv_sec AS LONG ' seconds
    tv_usec AS LONG ' and microseconds
    END TYPE

    Added:

    Sorry I interchange structure and type - one in the same thing.

    wr'itefds I would guess is a typo should be writefds

    Mike
    Last edited by Michael Mayerhoffer; 5 Feb 2017, 10:15 PM.

    Leave a comment:


  • David Clarke
    started a topic Spelling mistake, right?

    Spelling mistake, right?

    ' DECLARE FUNCTION sselect LIB "ws2_32.dll" ALIAS "select" ( _
    ' BYVAL nfds AS LONG, _
    ' readfds AS fd_set, _
    ' wr'itefds AS fd_set, _
    ' exceptfds AS FD_SET, _
    ' tymeout AS timeval _ <<< tyme or time???
    ' ) AS LONG
Working...
X