Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Caché, Ensemble, DeepSee, MiniM, IRIS, GT.M [игнор отключен] [закрыт для гостей] / source code of class / 3 сообщений из 3, страница 1 из 1
13.05.2008, 15:40
    #35309376
grynien
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
source code of class
Hi,
Anybody know, how to get source code of class?? I easy to get source code of routines, just to use %Library.routine, but there isn't something like %Library.class and %Library(%Dictionary).classdefinition is not enough to get source code of class, only properties and stuff like that:/
thanks for help,
grynien
...
Рейтинг: 0 / 0
14.05.2008, 15:02
    #35311946
Maksim UM
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
source code of class
something like this:
Код: plaintext
1.
2.
3.
 set c=##class(%Library.ClassDefinition).%OpenId("User.Test")
 set b="" f  s b=c.Methods.GetNext(b) q:b=""  w b.Code q
 set c=""
...
Рейтинг: 0 / 0
14.05.2008, 16:06
    #35312214
grynien
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
source code of class
Thanks for answer,
but only give it a methods code, but I want to have entire code of the class you can see in the stuido, at the moment I am using $system.obj.export to export entire code to xml file (isn't what I want to have), but I can't do it in better way :/
...
Рейтинг: 0 / 0
Форумы / Caché, Ensemble, DeepSee, MiniM, IRIS, GT.M [игнор отключен] [закрыт для гостей] / source code of class / 3 сообщений из 3, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]