I hope someone who is a teacher or technically proficient can help me answer the question.variable and database

  • Автор темы Автор темы Carzer
  • Дата начала Дата начала

Carzer

Новичок
Регистрация
17.07.2023
Сообщения
4
Реакции
2
Баллы
3
109513

How should I write this grammar, let if judge the length of the string in this variable.
How should I use the database action? I really don’t know how to use it.
 
You should use C# block for that
C#:
Развернуть Свернуть Копировать
return project.Variables["BatteryText"].Value.Length;
 
myndeswx,帖子:754135,会员:19655 написал(а):
您应该为此使用 C# 块
C#:
Развернуть Свернуть Копировать
return project.Variables["BatteryText"].Value.Length;
[/引用]
噢,太感谢了,我怎么没想到呢
 
  • Спасибо
Реакции: myndeswx
You should type it like this:
JavaScript:
Развернуть Свернуть Копировать
'{-Variable.BatteryText-}'.length < 200
 
  • Спасибо
Реакции: Carzer и myndeswx
As for working with database, you should use these help manuals.
 
  • Спасибо
Реакции: Carzer
VladZen,帖子:754242,会员:8322 написал(а):
你应该这样输入:
JavaScript:
Развернуть Свернуть Копировать
'{-Variable.BatteryText-}'.length < 200
[/引用]
谢谢
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)