default.txt 290 B

123456789101112131415161718192021222324252627
  1. 1> Str = "abcd".
  2. "abcd"
  3. 2> L = test:length(Str).
  4. 4
  5. 3> Descriptor = {L, list_to_atom(Str)}.
  6. {4,abcd}
  7. 4> L.
  8. 4
  9. 5> b().
  10. Descriptor = {4,abcd}
  11. L = 4
  12. Str = "abcd"
  13. ok
  14. 6> f(L).
  15. ok
  16. 7> b().
  17. Descriptor = {4,abcd}
  18. Str = "abcd"
  19. ok
  20. 8> {L, _} = Descriptor.
  21. {4,abcd}
  22. 9> L.
  23. 4
  24. 10> 2#101.
  25. 5
  26. 11> 1.85e+3.
  27. 1850