Jump to content

Add a variable to a class instance at runtime: Difference between revisions

m
added omits
m (Omit Factor from this task)
m (added omits)
Line 1,935:
=={{header|zkl}}==
Once created, class structure is fixed. However, using reflection, you can blow apart the class structure, add what ever and recompile the class (at run time). The REPL does this to store intermediate user results (defined classes, functions, variables, etc). It is ugly, slow and left as an exercise to the reader who cares.
{{omit from|6502 Assembly}}
 
{{omit from|68000 Assembly}}
{{omit from|8080 Assembly}}
{{omit from|8086 Assembly}}
{{omit from|Applesoft BASIC}}
{{omit from|ALGOL 68}}
{{omit from|ARM Assembly}}
{{omit from|AWK}}
{{omit from|Brainf***}}
Line 1,975 ⟶ 1,979:
{{omit from|TI-83 BASIC}} {{omit from|TI-89 BASIC}} <!-- Does not have objects. -->
{{omit from|UNIX Shell}}
{{omit from|Z80 Assembly}}
{{omit from|ZX Spectrum Basic}} <!-- Does not have objects. -->
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.