Skip to content

Problem using the .netscanner option #61

@tpenninckx

Description

@tpenninckx

Hello,
I registered the dll ( RegAsm.exe -tlb -codebase c:\windows\system32\JSONFoxHelper.dll )

When I try to use the .netscanner = .t. option, I have an error : An IF | ELSE |ENDIF statement is missing

My code :
SET DEFAULT TO C:\dev\Foxpro\JSONFox-master
Do LocFile("JSONFox", "app")

  • Parse a string into an object.
    _Screen.Json.netScanner = .T.
    MyObj = _Screen.Json.Parse('{"foo": "bar"}')
    If _Screen.Json.lError
    ? _Screen.Json.LastErrorText
    ELSE
    ? MyObj.foo
    ENDIF

Am I missing something ?
Thank you,
Thierry Penninckx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions