Wenn Programmierer die angewandte 1C-Sprache zum ersten Mal sehen, geraten viele in einen Stupor. Trotz der Tatsache, dass die russische Muttersprache auf jeden Fall näher und verständlicher ist, ist es nicht so einfach, den Code auf Russisch zu lesen und zu verstehen, was darin passiert (wenn er neu ist).
Ein erfahrener Programmierer sieht sofort bestimmte bekannte Konstrukte (Bedingungen, Schleifen, Funktionsaufrufe), aber viele Punkte im Code sind immer noch unverständlich und ungewöhnlich. Und wenn der Code von einem Programmierer mit der Gabe geschrieben wurde, Variablen und Funktionen schön zu benennen, verspricht der Prozess der ersten Bekanntschaft mit 1C noch besser zu werden. Letzteres gilt jedoch nicht nur für 1C.

Jetzt ist der Prozess der Übersetzung von 1C ins Englische in vollem Gange. 1C: ERP World Edition wurde kürzlich zu vorhandenen Lösungen (wie 1C: Drive) hinzugefügt, und die Entwicklung auf Englisch (vertrauter und verständlicher für viele Anfänger oder Nicht-1C-Programmierer) ist noch relevanter geworden.
, / «London is the capital of Great Britain… Microsoft…Coca-Cola…Ok» ?
:
1. – . , , . -, , .
, :

2. – -. , :

3. – , .
!
:
… … ; | If … Then ElsIf … Then Else EndIf; |
:
= 1 10 ; | For Counter = 1 To 10 Do EndDo; |
… … ; | For Each … In … Do EndDo; |
… ; | While … Do EndDo; |
:
#
| #Region
|
Client | |
Server | |
MobileAppClient | |
MobileAppServer | |
ThickClientOrdinaryApplication | |
ThickClientManagedApplication | |
ExternalConnection | |
ThinClient | |
WebClient | |
& & & & | &AtClient &AtServer &AtServerNoContext &AtClientAtServerNoContext |
:
And Or Not | |
Continue | |
Break | |
Return | |
Export | |
Val | |
New | |
| Var |
Raise |
/ :
; | Try Except EndTry; |
:
BeginTransaction | |
RollbackTransaction | |
CommitTransaction | |
TransactionActive |
/ :
Function EndFunction | |
Procedure EndProcedure |
:
Array | |
Structure | |
Map | |
ValueList | |
ValueTable | |
(, ) | ValueTree (Rows, Columns) |
Query | |
TempTablesManager | |
SpreadsheetDocument | |
TextDocument | |
FTP HTTP | FTPConnection HTTPConnection |
COM | COMObject |
WS | WSProxy |
DataLock | |
Boundary | |
BinaryData | |
Chart | |
GanttChart | |
FileDialog | |
DOM HTML | DOMDocument HTMLDocument |
DOM, JSON, … | DOMWriter, JSONWriter, … |
HTML, JSON, … | HTMLReader, JSONReader, … |
InternetMailMessage | |
Picture | |
, , … | DateQualifiers, NumberQualifiers, … |
RegisterRecordsCollection | |
DataCompositionTemplateComposer | |
DataCompositionSettingsComposer | |
DataCompositionTemplate | |
PointInTime | |
NotifyDescription | |
TypeDescription | |
DataCompositionFilter | |
DataCompositionParameter | |
DataCompositionField | |
JSON | JSONWriterSettings |
XML XML | XMLWriterSettings XMLReaderSettings |
MailMessage | |
DataCompositionResultValueCollectionOutputProcessor | |
DataCompositionResultSpreadsheetDocumentOutputProcessor | |
DataCompositionProcessor | |
FormAttribute | |
XDTO | XDTOSerializer |
XDTO | XDTOFactory |
UserMessage | |
DataCompositionSchema | |
File | |
ValueStorage | |
Color | |
Font | |
UUID |
:
Execute | |
ExecuteBatch | |
SetParameter | |
Select | |
CreateRecordSet | |
Read | |
Insert | |
Unload | |
Load | |
Add | |
Write | |
Fill | |
Total | |
Count | |
MetaData | |
Clear | |
Get | |
CheckFilling | |
Delete | |
Move | |
Find | |
FindRows | |
Sort | |
Copy | |
GetTemplate | |
GetArea | |
, | SliceFirst, SliceLast |
FindByDescription | |
FindByCode | |
FindByAttribute |
:
, , … | BegOfDay, BegOfMonth, … |
, , … | EndOfDay, EndOfMonth, … |
ErrorDescription | |
BackgroundJobs | |
GetFromTempStorage | |
CurrentDate | |
CurrentSessionDate | |
Date | |
, , … | ShowInputDate, ShowInputString, … |
ShowQueryBox | |
ShowValue | |
TypeOf | |
Type | |
Eval | |
Format | |
FillPropertyValues | |
GetCommonForm | |
GetCommonTemplate | |
GetForm | |
OpenForm | |
IsInRole | |
IsBlankString | |
, , | Left, Right, Mid |
, | Min, Max |
, | Notify, NotifyChanged |
PredefinedValue | |
SetPrivilegedMode | |
JSON, XML | ReadJSON, ReadXML |
Round | |
, , , … | StrLen, StrReplace, StrFind, … |
, | Upper, Lower |
ValueIsFilled |
:
JSON | JSONDateWritingVariant |
StandardPeriodVariant | |
BoundaryType | |
FormGroupType | |
AccountingRecordType | |
AccumulationRecordType | |
FormButtonType | |
FormFieldType | |
ComparisonType | |
DataCompositionComparisonType | |
AllowedLength | |
AllowedSign | |
FileAccess | |
DialogReturnCode | |
Zip | FileNamesEncodingInZipFile |
TextEncoding | |
ZIP | ZIPCompressionMethod |
ZIP | ZIPEncryptionMethod |
QueryResultIteration | |
InternetMailProtocol | |
DataLockMode | |
QuestionDialogMode | |
FileDialogMode | |
DocumentWriteMode | |
DocumentPostingMode | |
RoundMode | |
ZIP | ZIPStorePathMode |
DataLockControlMode | |
Chars | |
BackgroundJobState | |
SMTP | SMTPAuthenticationMode |
POP3 | POP3AuthenticationMode |
AddInType | |
DataCompositionFilterItemsGroupType | |
JSON | JSONValueType |
InternetMailTextType | |
DOM | DOMNodeType |
XML | XMLNodeType |
SpreadsheetDocumentFileType | |
FormattedDocumentFileType | |
EventLogLevel | |
DateFractions |
, :
Catalogs | |
Documents | |
InformationRegisters | |
AccumulationRegisters | |
AccountingRegisters | |
CalculationRegisters | |
ChartsOfCharacteristicTypes | |
ChartsOfAccounts | |
ChartsOfCalculationTypes | |
Enums | |
Constants | |
() | (External) DataProcessors |
() | (External) Reports |
ScheduledJobs | |
ExchangePlans | |
SessionParameters | |
ExternalDataSources |
:
DATEADD | |
DATEDIFF | |
, | BEGINOFPERIOD, ENDOFPERIOD |
() | COUNT(DISTINC) |
WERT | |
EINE ART | ART |
IST NULL | IST NULL |
PERFORMANCE | PRÄSENTATION |
EINREICHUNGSLINKS | VERTRETUNG |
Art des Wertes | WERTTYP |
IN (HIERARCHIE) | IN (HIERARCHIE) |
TERMINZEIT | TERMINZEIT |
MÖGEN | MÖGEN |
ZWISCHEN UND ... | ZWISCHEN UND… |
Ausdrücken | BESETZUNG |
WAHL WANN DANN SONST ENDE | FALL WANN DANN SONST ENDE |
Natürlich können nicht alle Analoga in einem Artikel beschrieben werden, aber die beliebtesten syntaktischen Konstruktionen wurden reflektiert. Ich hoffe, dies wird unerfahrenen Programmierern und jenen helfen, die gerade erst mit der Entwicklung in 1C auf Englisch vertraut sind, sich sicherer fühlen und schneller Code schreiben.