type Entry* = object name*, tag*, description*, link*, category* : string proc getEntryFromHtml(entry : Entry) = echo(entry.description) proc test() = var entry: Entry entry = Entry(name : "testname",description : "testdescription",link : "testlink",category : "testcategory") entry.getEntryFromHtml() #echo "run test" test()