AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein .NET-Framework (managed code) C# Visual Studio - Automatische Formatierung
Thema durchsuchen
Ansicht
Themen-Optionen

Visual Studio - Automatische Formatierung

Ein Thema von Neutral General · begonnen am 10. Sep 2015 · letzter Beitrag vom 28. Sep 2015
Antwort Antwort
Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#1

AW: Visual Studio - Automatische Formatierung

  Alt 10. Sep 2015, 11:56
Sieht gut aus. Das foreach könnte ich noch einbauen.
Allerdings tut dein Code nicht das gleiche wie meiner:

Code:
if (escape && instring)
{
    filtered += current;
}
stimmt nicht. escape muss nicht true sein damit der char an filtered drangehangen wird.
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat
Dejan Vu
(Gast)

n/a Beiträge
 
#2

AW: Visual Studio - Automatische Formatierung

  Alt 28. Sep 2015, 06:55
Ich würde das noch in eine eigene Routine auslagern ("ExtractString")
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:38 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz