Skip to content

TYAMLNode Question #10

@gorepj

Description

@gorepj

Why/How does this assignment work?

var MyYAMLNode: TYAMLNode; //Line 1
var iValue: integer = MyYAMLNode; //Line 2
var sValue: string = MyYAMLNode; //Line 3

With records that I declare line 2 would give me a "Incompatible types "Integer" and "TMyRecord"
With records that I declare line 3 would give me a "Incompatible types "String" and "TMyRecord"

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